Clicking links in the CPU profiler navigates to the debugger tab instead of navigating the IDE
- 主要语言
- Dart
- 星标
- 1.7k
- 派生
- 404
- 平均合并
- 6 天 17 小时
- 30 天内合并 PR
- 18
描述
Splitting this from https://github.com/flutter/devtools/issues/9168
@kenzieschmoll said:
> When running DevTools inside your IDE (or launching the IDE-started DevTools in the browser), clicking on the link should navigate to the code directly in your IDE. Does this work for you? If that behavior is broken, we need to fix it.
However in my testing this isn't working right. I tested in the browser (spawned from VS Code) and it navigates to the debugger screen:
https://github.com/user-attachments/assets/c6c1e72b-aeec-4e86-8baa-ec7409096182
I tested with the embedded view, and actually the same happened - so you end up with the (normally inaccessible) debugger view embedded inside VS Code:

贡献指南
调研方向
首先,在浏览器和嵌入式视图中,分别复现从 VS Code 启动的 DevTools 里的 CPU profiler 链接行为。跟踪 CPU profiler 的链接处理入口点,并比较预期的 IDE 导航与当前导航到调试器选项卡的行为。在报告的两种模式下,链接都能在 IDE 中直接打开相关代码,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- dart
- 领域
- developer-experience
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100