Download Debugger User`s Manual

Transcript
Freescale Semiconductor, Inc.
Hardware Breakpoints
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.
Freescale Semiconductor, Inc...
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.
Table 3-4 lists the possible choices.
Table 3-4. 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.
11. If the action specified is to execute a command, under Command type the
Debugger command.
12. Click OK.
3-18
Suite56 ADS Debugger User’s Manual
For More Information On This Product,
Go to: www.freescale.com
Motorola