
123
4.16.5 Function Calls
This mechanism is only used to collect trace information on the function calls.
(1) Make the setting so that a break occurs at the address on the line that has ‘p_sam->s0=a[0];’ within the
tutorial function (H’000010A4 in this example) (for details, refer to section 4.15.1, Software Break
Function).
(2) Select [Reset Go] from the [Debug] menu. Execution stops when the break condition is satisfied, and the
[Trace] window then displays the trace information.
(3) Select [Function Call…] from the popup menu displayed by clicking the right-hand mouse button on the
[Trace] window. The [Function Call Display] dialog box will be displayed.
Figure 4.50 [Function Call Display] Dialog Box
(4) Click the [Enable] radio button and then the [OK] button. Only the information on function calls is now
displayed in the [Trace] window.
Figure 4.51 [Trace] Window (Function Calls)
(5) To return the display in the [Trace] window to its previous state, follow the procedure in (3) to display the
[Function Call Display] dialog box. Click the [Disable] button and then the [OK] button.
(6) Delete the event points that have been set and clear the trace information. Clicking the right-hand mouse
button on the [Event] window displays a popup menu. Select [Delete All] from this menu to delete all the
event points that have been set. Clicking the right-hand mouse button on the [Trace] window displays a
further popup menu. Select [Clear] from this menu to clear the trace information.
Comentários a estes Manuais