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

Do not notify clients when we remove breakpoints before triggering a hot restart #2372

Closed
wants to merge 2 commits into from

Conversation

elliette
Copy link
Contributor

Before triggering a hot-restart, DWDS:

  • removes all current breakpoints (so that they don't get hit when resuming)
  • resumes the isolate (in case it was paused when the hot restart was triggered)

However, this means that the debugging client (e.g. DevTools) is notified that the breakpoints have been removed before the hot-restart happens. Therefore, it cannot re-establish the breakpoints because it believes they don't exist.

This PR makes sure that when we remove the breakpoints for a hot-restart, we do not notify the client of their removal.

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

Successfully merging this pull request may close these issues.

1 participant