flutter / flutter/devtools

Breakpoint getting hit twice after hot-restart

未关闭
#7,620 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
P2 screen: debugger
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

Note: This is only reproducible on non-web apps (for web apps the breakpoint is only hit once). It also doesn't happen all the time.

Steps to reproduce:
1. Set a breakpoint in an app's main method
2. Hit hot-restart
3. The breakpoint is hit
4. Hit resume
5. The same breakpoint is hit!

![breakpoint hit twice](https://github.com/flutter/devtools/assets/21270878/82772894-d22b-473e-a7b1-92d4d5446a99)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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