02.08.2013 Views

S12(X) Debugger Manual - Freescale Semiconductor

S12(X) Debugger Manual - Freescale Semiconductor

S12(X) Debugger Manual - Freescale Semiconductor

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Debugger</strong> Interface<br />

<strong>Debugger</strong> Main Window<br />

Run Menu<br />

Figure 2.14 Run Menu<br />

.<br />

The Main Window Run menu, shown in Figure 2.14 is associated with the debug session.<br />

You can monitor a simulation or debug session from this menu. Run menu entries are<br />

described in Table 2.4.<br />

Table 2.4 Run Menu Description<br />

Menu<br />

entry<br />

Start/<br />

Continue<br />

Restart CTRL +<br />

Shift + F5<br />

Shortcut Description<br />

F5 Starts or continues execution of loaded application from<br />

current program counter (PC) until it reaches a breakpoint or<br />

watchpoint, detects a runtime error, or user stops application<br />

by selecting Run > Halt.<br />

Starts execution of application from its entry point.<br />

Halt F6 Interrupts and halts a running application.Examine state of<br />

each variable in the application, set breakpoints,<br />

watchpoints, and inspect source code.<br />

Single<br />

Step<br />

F11 Performs a single step at source level in halted application.<br />

Execution continues until application reaches next source<br />

reference. If current statement is a procedure call, the<br />

debugger steps into procedure. Treats a function call as<br />

multiple statements, and steps into function.<br />

Step Over F10 Similar to Single Step, but does not step into called<br />

functions. Treats a function call as one statement.<br />

Step Out Shift +<br />

F11<br />

If application halts inside a function, Step Out continues<br />

execution and stops at instruction following current function<br />

invocation. Has no effect if no function calls are present.<br />

36 <strong>S12</strong>(X) <strong>Debugger</strong> <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!