Intel® System Debugger User Guide

ID 648476
Date 06/13/2024
Confidential
Document Table of Contents

Setting Breakpoint Conditions

Breakpoint conditions can be specified by right-clicking the breakpoint in the Breakpoints view, selecting Breakpoint Properties, and specifying the condition under Condition.

The syntax for breakpoint conditions supports standard C/C++ expressions together with the following extensions:

  • CPU registers: $X, where X is a register name, e.g. $rax. The allowable register names are architecture-specific.

Examples of valid expressions:

  • x > 0 (where x is a variable)

  • f(x) && (y == 0) (where f is a function and x and y are variables)

  • ($rax == 0xa0) || ($rax == 0xa1)