Sometimes I accidentally delete a conditional breakpoint that I still wanted by misclicking on it. The following post by the Visual Studio Team suggests that it's possible to undo such a deletion in Visual Studio:
https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/4182673-confirm-before-removing-a-breakpoint-that-has-cond
However I can't find information anywhere on how to actually do so.
Just tried this in Visual Studio 2017 and ctrl-Z worked to undo the delete breakpoint. Note it seems to only do it for conditional breakpoints, it seems to ignore any intermediate removals of simple breakpoints.
Actions:
delete conditional breakpoint A
add simple breakpoint B
delete simple breakpoint B
ctrl-Z
Result: restores conditional breakpoint A
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With