Set a breakpoint
To examine an area of code more closely, set a breakpoint at the desired line or function. A right-click on a line of code allows you to set, disable, and delete breakpoints.
Conditional breakpoints
You can specify that the breakpoint is conditional, using a Boolean expression to determine whether to stop execution of the program in the Condition column of the Breakpoints tab, enter the condition or open the Edit Expression dialog.