User`s manual
Source-Level Debugging in C
Motorola Debugging C and Assembly Code 3-15
3.2.7 To Clear a Hardware Breakpoint
1. From the Execute menu, choose Breakpoints, then select Clear.
The Clear Breakpoints dialog box, shown in Figure 3-2 on page 3-11, displays a
list of all the current breakpoints.
2. Select the breakpoint you want removed so that it is highlighted.
If you are clearing consecutive breakpoints you can click and drag to highlight
more than one breakpoint. Or hold down the CTRL key while clicking on
breakpoints to select more than one.
3. Click OK.
The breakpoints you selected are now deleted.
Breakpoints will not be renumbered. For example, if you have set breakpoints #1,
#2, and #3, and then clear breakpoint #2, the remaining breakpoints will be
numbered #1 and #3.
Notice that breakpoints are indicated in the Assembly window and the Source window (if
applicable). Enabled breakpoints appear in blue. Disabled breakpoints appear in pink.
3.2.8 Defining a Watch List for a C Program
A watch list consists of C expressions, registers, memory locations, and general
expressions that will be displayed throughout a trace and each time you encounter a
breakpoint. In other words, a watch list consists of the items you want “to keep an eye on”
as you are debugging. You define the list by adding items to it or taking items off the list.
One note of caution: when you add a C expression to a watch list, you must enclose the C
expression in curly brackets,
{}. In general, when you enter C expressions in a Suite56
simulator or Suite56 ADS hardware debugger, you must enclose the C expression in curly
brackets.
A watch list is device-specific; if you are working with more than one target device, then
you can define more than one watch list.
In the graphic user interface, there are two different ways to add items to a watch list:
•FromtheDisplay menu, choose Watch, and then select Add. A dialogue box
appears for you to enter the register, memory location, or C expression to watch.
You also choose the radix for the item in that window.
•FromtheWindows menu, choose Watch. A dialogue box appears for you to enter
the register, memory location, or C expression to watch. You also choose the radix
for the item and indicate which window to associate with the watched item.