Introduction to debugging, Starting the nodebuilder debugger – Echelon NodeBuilder FX User Manual

Page 256

Advertising
background image

242

Using the NodeBuilder Debugger

Introduction to Debugging

You can use the NodeBuilder debugger within the NodeBuilder Project Manager to control and
observe the behavior of your device application over a L

ON

W

ORKS

channel in order to debug it. The

debugger lets you set breakpoints, monitor network variables, halt the application, step through the
application, view the call stack, and peek and poke memory. You can make changes to the code as you
debug a single device or debug multiple devices simultaneously.

In addition to using the NodeBuilder debugger, you may also connect your device hardware to your
computer using a RS-232 or USB interface, and output debugging and tracing information from your
application. You can then use a terminal emulation program on your computer, such as Windows
HyperTerminal, to view the output and perform runtime debugging.

Many of Echelon’s evaluation boards include a RS-232 or USB interface to support application-level
debugging. These evaluation boards consist of the 5000 FT EVB, 3150 FT EVB, 3150 PL EVB, 3120
FT EVB, and 3120 PL EVB. For more information on connecting the FT 5000 EVB to a computer for
application-level debugging, see the FT 5000 EVB Hardware Guide. For more information on
connecting the 3150 FT EVB, 3150 PL EVB, 3120 FT EVB, and 3120 PL EVB, see the Mini EVK
Hardware Guide
.

Starting the NodeBuilder Debugger

You can start the NodeBuilder debugger from the NodeBuilder Project Manager or from the LonMaker
tool. To start the NodeBuilder debugger, follow these steps:

1. Start the NodeBuilder debugger from the NodeBuilder Project Manager or from the LonMaker

tool.

• To start the NodeBuilder debugger from the NodeBuilder Project Manager, right-click the

device to be debugged under the Devices folder in the Project pane and then click Debug on
the shortcut menu.

To debug multiple devices at the same time, click one device under the Devices folder in the
Project pane, hold down CTRL and click the other devices to be debugged, right-click one of
the selected devices, and then click Debug on the shortcut menu.

• To start the NodeBuilder debugger from the LonMaker tool, open the LonMaker drawing

containing the device, right-click the device to be debugged, point to NodeBuilder, and then
click Debug on the shortcut menu.

Advertising