This is the mail archive of the insight@sourceware.org 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: Does insight work?


Mikhail Teterin wrote:
?????? 17 ??????? 2006 14:07, Keith Seitz ???????:
What kind of exceptions? Maybe something will jog a memory somewhere in
the depths of my mind.

Clicking on the "File" menu, for example results in the following immediately -- without ever bring up the menu:


invalid command name "::.srcwin0.srcwin.container.pane0.childsite.con"
while executing
"::.srcwin0.srcwin.container.pane0.childsite.con _post file"
(in namespace inscope "::SrcBar" script line 1)
invoked from within
"namespace inscope ::SrcBar {::.srcwin0.srcwin.container.pane0.childsite.con _post file}"
invoked from within
"{.srcwin0.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m#file} post 659 315"
invoked from within
"$menu postcascade active"
(procedure "tk::MenuButtonDown" line 8)
invoked from within
"tk::MenuButtonDown .srcwin0.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m"
(command bound to event)errorCode is NONE

Hmm. That looks unusual. Almost as if Tk doesn't work all of a sudden. Almost all that is bound to Tk commands for menu processing... Weird.


Are the versions of itcl and tk compatible? I can't think of anything off the top of my head that would cause that behavior. But then I haven't tried the latest itcl stuff yet. Just tcl and tk.

BTW, if DISPLAY is not set, insight dumps core on startup, because it passes a NULL interp-pointer to the Tcl library:

#0 Tcl_GlobalEval (interp=0x0, command=0x7ccc60 "proc gdbtk_find_main {} {\n global Paths GDBTK_LIBRARY
env\n rename gdbtk_find_main {}\n if {[info exists env(DEBUG_STUB)]} {\n source $env(DEBUG_STUB)\n debugger_init\n set de"...)
at ./../generic/tclBasic.c:5441

Ugh! Bit rot. That should just cause insight to either revert to GDB (old behavior, I think) or print out a message. Grr. I'll check in a patch.


Keith


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