Skip to content

Add hardware breakpoints support -- unbind on disable - #1128

Merged
Andrew Wang (WardenGnaw) merged 8 commits into
microsoft:mainfrom
aleun:dev/alleu/hwbkpt-support
Apr 29, 2021
Merged

Add hardware breakpoints support -- unbind on disable#1128
Andrew Wang (WardenGnaw) merged 8 commits into
microsoft:mainfrom
aleun:dev/alleu/hwbkpt-support

Conversation

@aleun

Copy link
Copy Markdown
Contributor

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

Comment thread src/MIDebugEngine/AD7.Impl/AD7PendingBreakpoint.cs
Comment thread src/MIDebugEngine/AD7.Impl/AD7PendingBreakpoint.cs Outdated

Copy link
Copy Markdown
Member

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