devtools icon indicating copy to clipboard operation
devtools copied to clipboard

ProgramExplorer outline nodes jump to "-patch" directory script

Open migueltylee opened this issue 3 years ago • 0 comments

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.

migueltylee avatar Aug 16 '22 23:08 migueltylee