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

Add hardware breakpoints support -- unbind on disable #1128

Merged
merged 8 commits into from
Apr 29, 2021

Conversation

aleun
Copy link
Contributor

@aleun aleun commented Apr 13, 2021

This PR supercedes the abandoned PR #1123. It has the same goal, but improves the experience by ensuring that error messages propagate to the UI in VS on enable/disable by unbinding breakpoints on disable.

GIF of behavior in VS 2019:
Hardware Breakpoints

@WardenGnaw WardenGnaw requested review from gregg-miskelly and WardenGnaw and removed request for gregg-miskelly April 13, 2021 20:23
Copy link
Member

@gregg-miskelly gregg-miskelly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise LGTM

Failing to do this, the breakpoint will never be removed if disabled from run mode.
If the breakpoint is disabled, we should not request it from GDB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants