flutter / flutter/flutter-intellij

Add openFrame vm service listener

Open
#1,290 2 comments 0 reactions 1 assignee Claimed by @B3rn475 View on GitHub
Dominant language
Java
Stars
2k
Forks
356
Avg merge
1d 11h
Merged PRs (30d)
27

Description

The plugin already support support the `openSourceLocation` service.
Adding another service called 'openFrame' observatory can ask the editor to show a specific frame.
An example is the dominator tree, were the bottleneck is a frame itself and right now cannot be analyzed.

__Update:__
During heap analysis we can potentially encounter objects that are kept alive just by Stack Frames.
In this case we do not have a `source location` associated with the frame, so we cannot send the use back to the editor.
A possible solution would be to send the user to the debugger and select the blamed stack frame.

It is probably not useful for Flutter, where the stack clears every frame, but for normal Dart VM applications or background isolates can helpful.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.