|
PLEASE NOTE: The Publications System provided by the Manufacturing Systems Integration Division (MSID) has moved to: http://www.mel.nist.gov/msidlibrary/publications.html. The pages below are maintained for archival purposes only.
Publication summary
Author(s): Don Libes
Publication date: June 1993
Citation: Don Libes: "A Debugger for Tcl Applications," Proceedings of the 1993 Tcl/Tk Conference, June, 1993.
Key words: Tcl, Tk, Tool Command Language, Expect, debugger, interpreter
Availability:
- Postscript
- A paper copy of this document is available by contacting Kristy Thompson [web,email]
Abstract:
-
Tcl is a language specifically intended for generic application
control. By suing it, application programmers escape the
dilemma of whether to design sophisticated application-specific
languages or whether to build tools more quickly but that are
limited in flexibility. Tcl is easy for application programmers
to use, however, up to now, there has been no general-purpose
debugger for application users.
This paper describes an implementation of a debugger for Tcl
applications The debugger has a typical front end but with some
extremely unusual commands, in part because of the features and
limitations of Tcl. The debugger is modeless, allowing users to
issue Tcl and application commands along with debugger
commands. Each type of command may invoke the other, allowing
debugging to be programmed, dynamically or in advance.
The debugger is written in C and is very fast. When linked in but
not used, it does not show applications at all. The debugger
requires no modifications to the Tcl core,a nd can be plugged
into applications with little effort.
Attention users of these documents: The information contained
in these files should not be altered in any way. Attempts to change
these files will adversely impact the integrity of the information and
its usefulness. It is intended for use as is and will lose its
usefulness if changed.
Send questions or comments to Webmaster.
|