-
Notifications
You must be signed in to change notification settings - Fork 218
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
Conversation
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.
1741bfa
to
11d0815
Compare
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
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? |
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.