Setting breakpoints, Positions where a breakpoint is definable – Freescale Semiconductor Microcontrollers User Manual

Page 164

Advertising
background image

Control Points

Setting Breakpoints

164

Microcontrollers Debugger Manual

NOTE

For more information about this syntax, see

BS

and

SAVEBP

commands.

Setting Breakpoints

Breakpoints may be set in a Source or Assembly component window.

Positions Where a Breakpoint Is Definable

A compound statement is one that can be split into several base instructions. When using a
high level language some compound statements can be generated, as shown in the
following example.

Figure 4.3 Source and Assembly Windows

The debugger helps you detect all positions where you can set a breakpoint.

1. Right-click in the Source component. The Source Context Menu is displayed on the

screen.

2. Choose Marks from the Context Menu. All statements where a breakpoint can be set

are identified by a special red inverted check mark:

To remove the breakpoint marks, right-click in the Source component and choose Marks
again.

Advertising