Tag Archives: breakpoint

Automatically calling a method when a breakpoint is hit

By | January 1, 2014

While debugging the applications in visual studio, in may instances it many require to call a specific method when a breakpoint is hit. It may be because of  just to verify some output or check some variables values. We can perform that part either using immediate window or execute those method in some other debugging session. However, all… Read More »

How to stop debugger after a specific number of breakpoint hit ?

By | August 6, 2013

You can stop the debugger at breakpoint after a specific number of breakpoint hit. Hit Count is used to keep track on how many times the debugger has paused at some particular breakpoint. This is extremely useful when you want to stop the debugger after a certain number within a iterative process; and of course where you have… Read More »

Use Conditional Breakpoints with Method Calling in Visual Studio

By | December 30, 2010

Visual Studio Breakpoints allow you to put conditional breakpoint. If and only if that condition is satisfied, the debugger will pause the execution. Along with the normal condition with in conditional breakpoint in visual studio, we can call a methods from the condition field and based on the return value debugger will stop at the breakpoint. Let’s say… Read More »