User and Reference Guide

  • 2021.1
  • 12/04/2020
  • Public Content

Setting a Breakpoint on a Line or Function

To set a breakpoint, halt the target and click the required line or function in the source code. Alternatively, follow these steps:
  1. Halt the target by pressing the
  2. In the Breakpoints view, click
    view menu
    View Menu
    and select
    Add Line breakpoint
    Add Function Breakpoint
  3. For a line breakpoint, specify the path to the source file and its line number.
    For a function breakpoint, specify the function name.
  4. To enable the breakpoint straight after creation, ensure that the
    box is checked. To disable a breakpoint for now, uncheck the box.
  5. Click
    Apply and Close
Now you can resume the target and see how your breakpoints work.

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at