Game Development Reference
In-Depth Information
Figure B.3
Setting a conditional breakpoint in Visual Studio.
Once the conditional breakpoint is set, you then will only stop at the line when
the condition is met. This is a really handy way to get a break to only occur when
you need it to. One other type of condition you can have is a
hit count condition
,
which means that the breakpoint will only pause in the debugger once it has been
hit the requested number of times. To use a hit count, you right-click a breakpoint
and select Hit Count.