User`s manual
3-14 Suite56 DSP Tools User’s Manual Motorola
Source-Level Debugging in C
5. Under Option, indicate whether a second condition should be considered. And
indicates that both conditions must be met to trigger the breakpoint. Or indicates
that either condition can be met. Then indicates that the First Condition must be
satisfied followed by the Second Condition. Only indicates that only the first
condition must be met to trigger the breakpoint.
6. Under Second Condition specify the conditions for the second condition. This will
only apply if you have indicated so under Option in step 5.
7. Under Breakpoint Number select the number you want to assign to this
breakpoint. The default number shown is the next available number.
Breakpoint numbers do not have to be consecutive, they can be assigned arbitrarily.
For example, it may be convenient to allocate breakpoints so that one function is
assigned breakpoints 1 to 10, another uses 11 to 20, and so on.
8. Under Count specify how many times the Debugger should encounter the
breakpoint before stopping. For example, if you set the count to 3, the breakpoint
will be triggered the third time that the breakpoint is encountered.
Specifying a count will not affect real time execution.
9. Under Expression you can type an expression. The expression will be evaluated
when the first (and second) condition you specified is satisfied. If the expression is
true, the breakpoint will be triggered. If the expression is false, no action is taken
and program execution continues.
10.Under Action select what action is taken when the breakpoint is encountered:
11.If the action specified is to execute a command, under Command type the
Debugger command.
12.Click OK.
Table 3-2. Hardware Breakpoint Actions
Breakpoint Resulting Action
Halt Stops program execution when the breakpoint is encountered.
Note Displays the breakpoint expression in the Session window each time it is true. Program
execution continues. The display in the Session window is not updated until program
execution stops.
Show Displays the enabled register/memory set. Program execution continues.
Command Executes a Debugger command at the breakpoint. Device execution commands, such
as TRACE or GO, will not execute.
Increment[n] Increments the n counter by one.