4.8.2.8 When Breakpoint is Hit Dialog Box

When a data breakpoint is hit, you can print a message in the output window with this dialog box.

To open the When Breakpoint Is Hit Dialog Box, go to the Data Breakpoints window, select a breakpoint row. Then choose When Hit on the context menu.

Specify the Message

  • Use any of the keywords described on the When Breakpoint Is Hit dialog box. E.g., Process Id : $PID.
  • Specify expressions in the message by placing it in the curly braces, such as sum={a+b}

Specify the Breakpoint Behavior

To break execution when the breakpoint is hit, clear the Continue Execution checkbox. When checkingContinue Execution, execution is not halted. In both cases, the message is printed.