beautypg.com

Run to cursor, Break, Step into – Zilog Z8F0130 User Manual

Page 148: Step over, Step out, Set next instruction

background image

Using the Integrated Development Environment

UM013037-1212

124

Zilog Developer Studio II – Z8 Encore!
User Manual

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

Select

Run to Cursor

from the

Debug

menu to execute 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

Select

Break

from the

Debug

menu to stop program execution at the current program

counter.

Step Into

Select

Step Into

from the

Debug

menu to execute one statement or instruction from the

current program counter, following execution into function calls. When complete, the pro-
gram 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.

Step Over

Select

Step Over

from the

Debug

menu to execute one statement or instruction from the

current program counter without following execution into function calls. When complete,
the program counter resides at the next program statement or instruction.

Step Out

Select

Step Out

from the

Debug

menu to execute the remaining statements or instructions

in the current function and returns to the statement or instruction following the call to the
current function.

Set Next Instruction

Select

Set Next Instruction

from the

Debug

menu to set the program counter to the line

containing the cursor in the active file or the

Disassembly

window.