02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Tornado</strong> 2.0<br />

User’s Guide<br />

The command panel ➍ allows you to interact directly with the debugger, issuing<br />

commands such as the list command. Type the add-symbols command here if<br />

needed to load symbol information for any modules the debugger cannot find on<br />

its own; see What Modules to Debug, p.253.<br />

The state indicator line ➎ reports on the state of the debugger connection. At the left<br />

of this line, the debugger shows the name of the source file (if any) for the code<br />

being debugged. At the right of the line, the debugger indicates what it is<br />

connected to (if anything) by showing one of the messages shown in Table 7-2.<br />

Table 7-2<br />

Messages in CrossWind State Indicator Line<br />

Message<br />

No Target<br />

Target: WTX server<br />

Target: WTX Task/Stopped<br />

Target: WTX Task/Exception<br />

Target: WTX Task/Running<br />

Target: WTX System<br />

Status<br />

No target currently selected.<br />

Connected to a target in task mode, but not to any<br />

particular task.<br />

Connected to a task, which is stopped.<br />

Connected to a task, which is stopped due to an exception.<br />

Connected to a task, which is running.<br />

Connected to a target in system mode.<br />

7.4 CrossWind in Detail<br />

This section describes the debugger commands and controls in detail.<br />

7.4.1 Graphical Controls, p.236 is a complete discussion of all graphical debugger<br />

controls. 7.4.2 Debugger Command Panel: GDB, p.252 discusses when to use the<br />

command panel rather than graphical controls, and what commands are<br />

particularly useful because of their effects on the graphical context.<br />

7.4.1 Graphical Controls<br />

The debugger provides three kinds of graphical controls: menus, buttons, and<br />

mouse-based manipulation of other display elements.<br />

236

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

Saved successfully!

Ooh no, something went wrong!