flutter / flutter/devtools

ProgramExplorer outline nodes jump to "-patch" directory script

Offen
#4,376 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @bkonyi Auf GitHub ansehen
P3 screen: debugger
Vorherrschende Sprache
Dart
Sterne
1.7k
Forks
404
Ø Merge
6 T. 17 Std.
Gemergte PRs (30 T.)
18

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.