User and Reference Guide

  • 2021.1
  • 12/04/2020
  • Public Content
Contents

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
    suspend
    Suspend
    button.
  2. In the Breakpoints view, click
    view menu
    View Menu
    and select
    Add Line breakpoint
    or
    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
    Enabled
    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

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.