flutter / flutter/devtools

Is there no-longer a way to place/remove breakpoints in the devtool?

未关闭
#6,361 4 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
bug fix it friday P2
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

Hello!

Earlier today I was trying to benchmark some code, and used `flutter run --start-paused --profile`.
All is well and the app is indeed starting paused... But I couldn't find a way to resume the application.

I only saw the following tabs:

Screenshot 2023-09-12 at 15 17 57

And after searching for a while, I don't think any of them enables to resume the application.

I ultimately found a workaround, which is to also connect the app to VScode using "attach to Dart process" and pasting the vm-service URI there. But this feels like a redundant extra step.
Did I miss something maybe? I swear we could do this before 😛

贡献指南

打开贡献指南

调研方向

使用 `flutter run --start-paused --profile` 重现该问题,并检查报告中显示的 DevTools 标签页。跟踪 DevTools 如何连接到处于暂停状态的应用,并将可用控件与预期的恢复运行和断点操作进行比较。当用户无需连接第二个调试器即可恢复应用运行以及设置或移除断点时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart
领域
devtools
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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