Setting a Temporary Breakpoint

Use the Temporary Breakpoint command to set temporary breakpoints. Unlike a regular breakpoint that halts execution each time you debug a project, a temporary breakpoint halts execution only once. The debugger removes the temporary breakpoint after halting program execution.

To set a temporary breakpoint at a line of source code

  1. Set a breakpoint on the source line
  2. Right-click breakpoint and select Breakpoint Properties in the context menu
  3. The Properties for C/C++ breakpoint window appears (Figure 1).

    Figure 1 Properties for C/C++ breakpoint window

  4. Enter the value "1" into the Ignore count field
  5. Click OK
Related concepts
Related tasks
Related references