flutter / flutter/devtools

ProgramExplorer outline nodes jump to "-patch" directory script

未关闭
#4,376 0 条评论 0 个 reaction 已指派 1 人 已被 @bkonyi 认领 在 GitHub 查看
P3 screen: debugger
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。