Reputation: 6415
Sometimes, when I press ctrl+F10
at line A
, I just want the program to resume and halt when reach line A
. However, if it reaches a breakpoint before reaches line A
, it will halt at that breakpoint instead.
Is there any hotkey that acts similar to ctrl+F10
, but ignores all breakpoints?
Disabling all breakpoints is not a viable choice for me, because :-
ctrl+shift+F10
is not useful either, because it alters the program's behavior.
I don't mind to install a new plug-in.
Appendix :-
ctrl+F10
= Starts or resumes execution of your code and then halts execution when it reaches the selected statement. (but if it reach a breakpoint, it will halt immediately)
ctrl+shift+F10
= Sets the execution point to the line of code you choose
Upvotes: 0
Views: 130
Reputation: 6436
No direct answer for it, it would hit the breakpoint during debugging mode, it can't skip the breakpoint.
Actually I also check the VS2017 RC, it has the new feature called "Run to Click", you could run your app to the specific line during debugging mode. But it also hit the breakpoint during running time, but you could ignore this action and just click "Run execution to here" again. I know that it is not the direct answer, but I think it is convenient for you to debug your app to the specific line.
Other community members also submitted a feature request which could skip over the breakpoint here:
A extension tool:
https://marketplace.visualstudio.com/items?itemName=CodeMelee.CodeMelee-FlexPoints
Which could skip/replace the specific code line, maybe it is also a workaround for this issue.
Since no direct solution for it, I also help you submit a feature request here:
You could also vote it:)
Upvotes: 1