-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hot restart and breakpoints #2257
Comments
Note: I have not been able to repro the "phantom breakpoint" outside of that one time. |
We've gotten an internal report of phantom breakpoints (this time not when hot restarting an app) and I just hit this myself trying to restart another customer's app. Along with not re-establishing breakpoints on hot restart (the debugger tool, e.g. VS Code, DevTools should instead send a request to re-establish the breakpoints after the restart has completed as described here), I also think we should migrate back from using the The motivation for using |
There are a few changes that need to be made to resolve this:
|
I noticed an issue around breakpoints / hot restart when working on Cider debugging (a "phantom" breakpoint was being hit after hot restart, need to do more investigation to figure out how it got into that state).
However, I've noticed we have another hot restart / breakpoint issue in DevTools:
Note: the breakpoint is getting re-added at the previous line here:
webdev/dwds/lib/src/debugging/debugger.dart
Line 305 in 1bd434b
In VSCode, the breakpoints persist in the right location through restarts. Whatever we are doing for VSCode, we should also do for Cider.
The text was updated successfully, but these errors were encountered: