flutter / flutter/devtools

Breakpoint getting hit twice after hot-restart

Open
#7,620 0 comments 0 reactions 0 assignees View on GitHub
P2 screen: debugger
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.