Stopping an application – Echelon IzoT NodeBuilder User Manual

Page 251

Advertising
background image

The following table describes each of the buttons in the Debugger toolbar.

View Breakpoint
List

Toggles the breakpoint list pane. See Setting and Using Breakpoints
later in this chapter for more information.

View Watch List

Toggles the watch list pane. See Using the Watch List Pane later in this
chapter for more information.

View Call Stack

Toggles the call stack pane. See Using the Call Stack later in this
chapter for more information.

Resume

Resumes execution of a halted application. See Stopping an Application
later in this chapter for more information.

Halt

Halts the application running on the current device. See Stopping an
Application
later in this chapter for more information.

Reset

Resets the current device.

Stop

Stops debugging the current device.

Watch Variable

Opens the Add to Watch List dialog. See Using the Watch List Pane
later in this chapter for more information.

Toggle Breakpoint

Toggles whether the current line of code has a breakpoint. See Setting
and Using Breakpoints
later in this chapter for more information

Step Over

Executes the current line of the application. If the current line contains a
function, the function will execute in its entirety. See Stepping Through
Applications
later in this chapter for more information.

Step Into

Executes the current line of the application. If the current line contains a
function, the application will halt at the first line of the function. See
Stepping Through Applications later in this chapter for more information.

Run to Cursor

Sets an implicit breakpoint at the line that the cursor is on. The
application resumes if it is currently halted and continues to execute if it
is already running. The application will halt when it reaches this implicit
breakpoint. In addition, the breakpoint will be cleared once it is
encountered.

Current
Instruction Source
Code

When the application is halted, jumps to the line of code on which the
application has halted.

Stopping an Application

You can stop an application while it is running in debug mode in three ways: halting the application,
running to the cursor, and setting breakpoints.

Once you stop an application, you can step through the application one command at a time (see
Stepping Through Applications for more information), observe the values of variables in the watch list
(see Using the Watch List Pane for more information), and observe the condition of the call stack (see
Using the Call Stack for more information).

To resume execution of an application that you have halted, either click the resume button (

) on the

Debugger toolbar, type <F5>, or select Go from the Debug menu. The application will continue
running until it hits another breakpoint (or the same one again). You can also move your cursor and
click the run to cursor button to have the application resume execution until it gets to the line
containing the cursor.

The following sections describe the three methods for stopping a device application running in debug
mode.

IzoT NodeBuilder FX User's Guide

237

Advertising