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

Fixing Conditional Breakpoints for VS Code #1010

Merged
merged 3 commits into from
Jun 12, 2020

Conversation

WardenGnaw
Copy link
Member

VS Code has modified the way it handles conditional breakpoints.
It used to send a SetBreakpoints that removed the breakpoint and a new
SetBreakpoints request with the updated condition.

This change now keeps track of breakpoint conditions and recreate them
if the condition has changed.

VS Code has modified the way it handles conditional breakpoints.
It used to send a SetBreakpoints that removed the breakpoint and a new
SetBreakpoints request with the updated condition.

First we validate existing breakpoint's conditions have not changed, if
they have, we delete and recreate it internally.
@gregg-miskelly
Copy link
Member

Do you need to do the same for function breakpoints?

@WardenGnaw
Copy link
Member Author

Do you need to do the same for function breakpoints?

Is there a way to set function breakpoints with conditions in VS Code?

Fixed some error messages
Fixed pr issues
@gregg-miskelly
Copy link
Member

Do you need to do the same for function breakpoints?

Is there a way to set function breakpoints with conditions in VS Code?

Oh, I guess you are right. I didn't notice. Though it is possible to do in VS and we now use this code in VS, so maybe worth fixing anyway?

@WardenGnaw WardenGnaw merged commit 62b1e70 into master Jun 12, 2020
@WardenGnaw WardenGnaw deleted the dev/waan/fixConditionalBP branch August 7, 2020 23:46
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