Possible Duplicate:
Visual Studio: How to stop breakpoint hit from stealing focus?
Many times I will set a break point in Visual Studio and run a process that might take seconds or a minute or two. While that runs, I will do something else, usually other coding in another window. When the breakpoint is hit, Visual Studio gains focus and my next several keystrokes go into the debugger and all hell breaks lose depending on what my kestrokes are. (expecially in Visual C++). This is especially annoying the longer it takes to get to the breakpoint since I have to restart all over again.
Bottom line, is there a way to turn off the auto focusing feature in Visual Studio or Windows in general?
To end a debugging session in Microsoft Visual Studio, from the Debug menu, choose Stop Debugging.
To set a breakpoint in source code: Click in the far left margin next to a line of code. You can also select the line and press F9, select Debug > Toggle Breakpoint, or right-click and select Breakpoint > Insert breakpoint. The breakpoint appears as a red dot in the left margin.
This problem occurs because ASP.NET debugging isn't enabled on the application.
You cant stop it but you can hack around it, by setting a hit counter, so it only breaks when it reaches a certiain hit count, just right click the break point and go to hit count to do this.
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