Associate a command with a breakpoint, Demo version limitations – Freescale Semiconductor Microcontrollers User Manual

Page 169

Advertising
background image

Control Points

Setting Breakpoints

169

Microcontrollers Debugger Manual

Choosing Show Breakpoints from Source Context Menu

1. Point in the Source Component window and right-click. The Source Context Menu is

displayed.

2. Choose Show Breakpoints from the context menu. The Breakpoints Setting dialog

box is displayed.

3. In the list of defined breakpoints, select the breakpoint to delete.

4. Click Delete. The selected breakpoint is removed from the list of defined breakpoints.

5. Click OK to close the Breakpoints Setting dialog box.

The icon associated with the deleted breakpoint is removed from the source component.

Associate a Command with a Breakpoint

Each breakpoint (temporary, permanent, counting or conditional) can be associated with a
debugger command. This command can be specified in the Breakpoints tab of the
Controlpoints Configuration window. To open this window choose Show Breakpoints
from the Source Window context menu.

In the Breakpoints tab of the Controlpoints Configuration
window:

1. Select the breakpoint to modify by clicking on the corresponding entry in the list of

defined breakpoints.

2. Enter the command in the Command field. The command is a single debugger

command (at this level, the commands G, GO and STOP are not allowed). A
command file can be associated with a breakpoint using the command CALL or CF
(Example: CF breakCmd.cmd).

3. Click OK to close the window.

When the breakpoint is detected, the command is executed and the application stops.

The Continue check button of the Controlpoints Configuration window allows the
application to continue after the command is executed.

Demo Version Limitations

Only two breakpoints can be set.

Advertising