SourcePoint AMD Help

Table of Contents

Set Breakpoints From Other SourcePoint Windows

The Breakpoints window is the central location for managing breakpoints in SourcePoint, but there are many shortcuts that provide easy ways to define breakpoints in other Windows.

Code Window

The Code window allows breakpoints to be manipulated from either the Breakpoint column, the context menu, or with keyboard shortcuts.

Breakpoint Column

The Breakpoint column is the blank column at the far left of the Code window. ย Its primary purpose is to show existing breakpoints, but it can also be used to set and clear breakpoints.

A left click in the Breakpoint column sets either a hardware or software breakpoint, depending on the current default code break setting (Options|Preference|Breakpoint tab).

A double left click in the Breakpoint column sets an alternate breakpoint type. ย For instance, if the default code break type is set to hardware, then a software breakpoint will be set. ย If the default code break type is set to software, then a hardware breakpoint is set. ย This is convenient when the default code break type is set to software, but a hardware breakpoint needs to be set in ROM or Flash.

A double left click on a breakpoint icon in the Breakpoint column toggles the type from hardware to software or vice-versa.

A left click on a breakpoint icon removes the breakpoint.

Context Menu

Set Breakpoint. ย Sets either a hardware or software breakpoint, depending on the current default code break setting (Options|Preference|Breakpoint tab). ย The F9 shortcut key performs the same function.

Clear Breakpoint. Clears an existing breakpoint.

Set Alternate Breakpoint. ย Performs the same action as a double left click in the Breakpoint column (see above). Pressing Shift+F9 performs the same function.

Toggle Breakpoint Type. ย Toggles an existing breakpoint from hardware to software or vice versa. ย Pressing Shift+F9 performs the same function.

Disable Breakpoint. ย Disables a currently enabled breakpoint. ย CTRL+F9 performs the same function.

Enable Breakpoint. ย Enables a currently disabled breakpoint. ย CTRL+F9 performs the same function.

Add Breakpoint. ย Opens the Add Breakpoint dialog to add a breakpoint. ย This is used to add something other than a hardware or software breakpoint (e.g., an emulator breakpoint).

Edit Breakpoint. ย Opens the Edit Breakpoint dialog to edit the current breakpoint. ย This is used to change an existing breakpoint.

Go Until Cursor. ย Sets either a hardware or software breakpoint depending on the current default code break setting (Options|Preference|Breakpoint tab). ย The breakpoint is temporary and is automatically cleared after it hits. ย The F7 shortcut key performs the same function.

Trace Window

The following context menu items are available:

Set Breakpoint. ย Sets either a hardware or software breakpoint, depending on the current default code break setting (Options|Preference|Breakpoint tab). ย The F9 shortcut key performs the same function.

Add Breakpoint. ย Opens the Add Breakpoint dialog to add a breakpoint. ย This is used to add something other than a Hardware or Software breakpoint (e.g., an emulator breakpoint).

Symbols Window

The following context menu items are available:

Set Breakpoint. ย Sets either a hardware or software breakpoint, depending on the current default code break setting (Options|Preference|Breakpoint tab). ย The F9 shortcut key performs the same function.

Go Until Cursor. ย Sets either a hardware or software breakpoint, depending on the current default code break setting (Options|Preference|Breakpoint tab). ย The breakpoint is temporary and is automatically cleared after it hits. ย The F7 shortcut key performs the same function.

Find Symbol Dialog

The following context menu items are available:

Set Breakpoint. ย Sets either a hardware or software breakpoint, depending on the current default code break setting (Options|Preference|Breakpoint tab). ย The F9 shortcut key performs the same function.

Go Until Cursor. ย Sets either a hardware or software breakpoint, depending on the current default code break setting (Options|Preference|Breakpoint tab). ย The breakpoint is temporary and is automatically cleared after it hits. ย The F7 shortcut key performs the same function.

Command Window

Breakpoints can be set, cleared, enabled and disabled from the Command window and from macro files.

See dbgbreak commands for setting debug (Hardware) breakpoints.

See softbreak commands for setting software breakpoints.

See cpubreak commands for setting processor breakpoints.

ย