![Phytec nanoModul-164 Скачать руководство пользователя страница 81](http://html.mh-extra.com/html/phytec/nanomodul-164/nanomodul-164_quick-start-instructions_1554144081.webp)
Debugging
PHYTEC Meßtechnik GmbH 2003 L-379e_4
77
•
Repeat the process using StepOver and you will not enter the
function although it will be executed. Use the command $=\42
within the Output Window to reposition the program counter to
line 42 prior to further code execution. This command takes a
line number preceded by a backslash to set the program
counter. The StepOver feature is useful to skip function calls
you are not interested in debugging.
Note that the StepOut button is grayed out and not available in
Monitor mode. StepOut is available in the simulator and provides a
quick escape from a function by executing the next return
instruction
.
•
As you step through the program - the appropriate values in the
Regs window will change colour as their values are updated. Most
of the variables have been allocated to fast internal CPU registers
by the µVision2 compiler.
4.6.1
Memory Window
•
If the Memory Window is not already visible, activate it by
selecting View|Memory window from the µVision2 tool bar.
•
Type 0x5000 at the Address: field and press enter. The addresses
displayed in the Memory Window should change starting at this
address. This is the memory area for the variables of the project.
•
Set a breakpoint at line 47 (count++). Note that as you press Run,
the contents of the memory changes as the structure values are
incremented at lines 42 through 45. Remove the breakpoint at line
47 with a double mouse click.
•
Close the Memory Window.
Содержание nanoModul-164
Страница 48: ...nanoMODUL 164 QuickStart Instructions 44 PHYTEC Meßtechnik GmbH 2003 L 379e_4 ...
Страница 72: ...nanoMODUL 164 QuickStart Instructions 68 PHYTEC Meßtechnik GmbH 2003 L 379e_4 ...
Страница 84: ...nanoMODUL 164 QuickStart Instructions 80 PHYTEC Meßtechnik GmbH 2003 L 379e_4 ...
Страница 92: ...nanoMODUL 164 QuickStart Instructions 88 PHYTEC Meßtechnik GmbH 2003 L 379e_4 ...
Страница 96: ...Published by PHYTEC Meßtechnik GmbH 2003 Ordering No L 379e_4 Printed in Germany ...