flutter / flutter/devtools

ProgramExplorer outline nodes jump to "-patch" directory script

Open
#4,376 0 comments 0 reactions 1 assignee Claimed by @bkonyi View on GitHub
P3 screen: debugger
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

When certain 'function' object nodes are selected in the Program Explorer outline, the SourceLocation of the function is in a _patch file, thus the file explorer will jump to the patch file.
This is a way to reproduce the issue:
- In the ProgramExplorer library dart:async select the script async_error.dart
- In the outline expand the AsyncError class and select the _stackTrace function
- The program will then fetch the source script for that object when calling node.populateLocation() and the file explorer goes there after calling showScripLocation.

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.