beautypg.com

Stop debugging button, Go button, Run to cursor button – Zilog Z8F0130 User Manual

Page 59: Break button, Step into button

background image

UM013037-1212

Debug Toolbar

Zilog Developer Studio II – Z8 Encore!

User Manual

35

3. If files have been modified, ZDS II asks, “Would you like to rebuild the project?”

before downloading the modified program. If there has been no file modification, the
code is not reloaded.

For the Serial Smart Cable, ZDS II performs an on-chip debugger reset.

Stop Debugging Button

The

Stop Debugging

button ends the current debug session.

To stop program execution, click the

Break

button.

Go Button

Click the

Go

button to execute project code from the current program counter.

If not in

Debug

mode when the

Go

button is clicked, the following process is executed:

1. Initializes the communication to the target hardware.

2. Resets the device.

3. Configures the device using the settings in the

Configure Target

dialog box.

4. Downloads the program.

5. Configures and executes the debugger options selected in the

Debugger

tab of the

Options

dialog box. If it is a C project, ZDS II resets to the main function if it is

found.

6. Executes the program from the reset location.

Run to Cursor Button

The

Run to Cursor

button executes the program code from the current program counter to

the line containing the cursor in the active file or the

Disassembly

window. The cursor

must be placed on a valid code line (a C source line with a blue dot displayed in the gutter
or any instruction line in the

Disassembly

window).

Break Button

The

Break

button stops program execution at the current program counter.

Step Into Button

The

Step Into

button executes one statement or instruction from the current program

counter, following the execution into function calls. When complete, the program counter
resides at the next program statement or instruction unless a function was entered, in
which case the program counter resides at the first statement or instruction in the function.