Skip to content
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

Breakpoints disappear after hot restart #5265

Open
kenzieschmoll opened this issue Feb 17, 2023 · 2 comments
Open

Breakpoints disappear after hot restart #5265

kenzieschmoll opened this issue Feb 17, 2023 · 2 comments
Assignees

Comments

@kenzieschmoll
Copy link
Member

kenzieschmoll commented Feb 17, 2023

In this .gif, you can see we have one breakpoint before hot restarting. Then we hot restart, and the breakpoint disappears. The test application is running on an iOS simulator.
breakpoints-gone-after-hot-restart

(the gif is a bit misleading since when it loops back to the beginning, it looks like the breakpoint comes back, but that is just the gif starting over)

This is a good candidate for an integration test where we can use a real application and trigger a real hot restart.

@elliette
Copy link
Member

This might be related to #3359. I thought this was limited to macos, but it seems to be more widespread. Breakpoints don't disappear when connected to a web app, which makes me think this might be an issue with the vm_service.

@elliette
Copy link
Member

Opened dart-lang/sdk#52794 to track the work required for the VM service. Once that's resolved, I will add an integration test. FYI @bkonyi @derekxu16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants