blank.gif (43 bytes)

Church Of The
Swimming Elephant

Index | Description | Usage | Options | Variables | Hints | Bulletproof

debug [[-now] 0|1]
Arguments Description
-now the debugger is started immediately (i.e., in the middle of the debug command itself).
0 | 1  Stop (0) or start (1) the debugger on the next command

Controls a Tcl debugger allowing you to step through statements, set breakpoints, etc. 

With no arguments, a 1 is returned if the debugger is not running, otherwise a 0 is returned. 

With a 1 argument, the debugger is started.  With a 0 argument, the debugger is stopped.  If a 1 argument is preceded by the -now flag, the debugger is started immediately (i.e., in the middle of the debug command itself).  Otherwise, the debugger is started with the next Tcl statement. 

The debug command does not change any traps. 

This material is excerpted from the O'Reilly book "Exploring Expect" by Don Libes, and can also be found in the manpage on many UNIX platforms. 


Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

Have you gone to church today?
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609