1 /* Dbg.h - Tcl Debugger include file
3 Written by: Don Libes, NIST, 3/23/93
5 Design and implementation of this program was paid for by U.S. tax
6 dollars. Therefore it is public domain. However, the author and NIST
7 would appreciate credit if this program or parts of it are used.
11 /* _DEBUG or _DBG is just too likely, use something more unique */
17 typedef int (Dbg_InterProc) _ANSI_ARGS_((Tcl_Interp *interp, ClientData data));
18 typedef int (Dbg_IgnoreFuncsProc) _ANSI_ARGS_((
21 typedef void (Dbg_OutputProc) _ANSI_ARGS_((
36 EXTERN char *Dbg_VarName;
37 EXTERN char *Dbg_DefaultCmdName;
39 /* trivial interface, creates a "debug" command in your interp */
40 EXTERN int Tcldbg_Init _ANSI_ARGS_((Tcl_Interp *));
42 EXTERN void Dbg_On _ANSI_ARGS_((Tcl_Interp *interp,
44 EXTERN void Dbg_Off _ANSI_ARGS_((Tcl_Interp *interp));
45 EXTERN char **Dbg_ArgcArgv _ANSI_ARGS_((int argc,char *argv[],
47 EXTERN int Dbg_Active _ANSI_ARGS_((Tcl_Interp *interp));
48 EXTERN Dbg_InterStruct Dbg_Interactor _ANSI_ARGS_((
50 Dbg_InterProc *interactor,
52 EXTERN Dbg_IgnoreFuncsProc *Dbg_IgnoreFuncs _ANSI_ARGS_((
54 Dbg_IgnoreFuncsProc *));
55 EXTERN Dbg_OutputStruct Dbg_Output _ANSI_ARGS_((
60 EXTERN void Dbg_StdinMode _ANSI_ARGS_((int mode));
62 #endif /* _NIST_DBG */