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.

7<br />

Debugger<br />

Tcl Menu<br />

The Tcl menu provides a way to re-initialize the debugger. Because the debugger<br />

can be customized on the fly (see 7.7 Tcl: CrossWind Customization, p.273), this<br />

provides a way to restore the environment after experiments with custom<br />

modifications.<br />

Tcl>Reread Home<br />

Re-initializes the definitions from.wind/crosswind.tcl in your home directory<br />

(see 7.7.1 Tcl: Debugger Initialization Files, p.273).<br />

Tcl>Reread All<br />

Re-initializes the complete graphical environment defined in Tcl resource files,<br />

including both the basic CrossWind definitions and the definitions from<br />

~/.wind/crosswind.tcl.<br />

7<br />

Windows Menu<br />

The Windows menu controls auxiliary debugger displays. All such displays are<br />

automatically updated whenever the control of execution passes to the<br />

debugger—for example, at each breakpoint, or after single-stepping.<br />

Windows>Backtrace<br />

Displays an auxiliary window with the current stack trace, like the one in<br />

Figure 7-7.<br />

Figure 7-7<br />

Stack Display<br />

Windows>Registers<br />

Displays an auxiliary window that shows the machine registers for the task<br />

you are debugging. Because registers are different for each architecture, the<br />

precise contents of this window differ depending on your target. Figure 7-8<br />

shows a register-display window for a SPARC target. As with the register<br />

displays in task browsers (see 6.6.1 The Task Browser, p.214), registers are<br />

grouped by category, and you can control the level of detail by clicking on the<br />

folder icons that head each category.<br />

243

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

Saved successfully!

Ooh no, something went wrong!