This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: untangling c & tcl code


On Wednesday 13 February 2002 07:36 am, Duane Ellis wrote:

> You mentioned the 'debug window' I figured this out once but it
> escapes me right now. How do you open this?

Set the environment variable GDBTK_DEBUG to 1 before running Insight.

on bash
>export GDBTK_DEBUG=1

"Debug Window" will now appear on the "View" pulldown menu. All messages are 
logged to "insight.log" in your current directory.

Bring up the debug window and take a look at the help.  You can insert your 
own dbug calls in the Tcl code.  You can also see output from C functions in 
this window if you use the TclDebug() call (see gdbtk.c)

-- 
Martin Hunt
GDB Engineer
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]