Tag Archives: breakpoint

Automatically calling a method when a breakpoint is hit

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 »

Use Conditional Breakpoints with Method Calling in Visual Studio

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 »