Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stop debugger on current line of code being executed

So here I am trying to debug this issue where the program takes forever to run and I can't figure out where to put the breakpoint in code because there are 1 million events firing.

Is there a way in visual studio to just stop on the current line of code being executed without setting a breakpoint?

like image 264
zachary Avatar asked Jul 31 '09 19:07

zachary


1 Answers

Yes, hit the Pause button on the toolbar and it will break at the current line.

Another option if the Pause button is not visible is to go to Debug -> Break All.

like image 118
JaredPar Avatar answered Oct 14 '22 06:10

JaredPar