flutter / flutter/devtools

Support source links for a profile mode app.

Open
#5,604 0 comments 0 reactions 0 assignees View on GitHub
ide-integration P2 screen: cpu profiler
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

Right now, these links are disabled for a couple reasons:
1) in profile mode, we do not initialize the script manager. This code should be refactored so that the script manager itself is responsible for updating scripts on isolate changes and initial connection, instead of the current impl which has consumers of the isolate manager (debugger related features) responsible for refreshing scripts on the isolate manager.
2) in profile mode, the debugger page is disabled, so we do not have a destination for the links. We should use the new "tools" stream to navigate to the source uri in the user's IDE instead.
CC @bkonyi

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.