set breakpoint

This command controls the automatic behavior of breakpoints and watchpoints.

Show/hideSyntax

set breakpoint [option]

Where:

option

Specifies additional options:

auto-hw

Controls the automatic breakpoint selection when using the break command:

off

Disables automatic breakpoint selection.

on

Uses the memory map attributes to decide if hardware or software breakpoints must be used. This is the default.

auto-remove

Controls the automatic removal of breakpoints and watchpoints when disconnecting from the target:

off

Disables automatic removal.

on

Enables automatic removal. This is the default.

Note

If the target is running, the debugger temporarily stops the target before removing breakpoints and watchpoints.

skipmode

Controls whether to skip all breakpoints and watchpoints:

off

Disables skip mode. This is the default.

on

Enables skip mode.

Show/hideExample

Example 100. set breakpoint

set breakpoint auto-hw off        # No automatic breakpoint selection
set breakpoint skipmode on        # Skip all breakpoints and watchpoints
set breakpoint auto-remove off    # No automatic removal of breakpoints and watchpoints

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0452I
Non-ConfidentialID022212