ActiveState Community

Trouble with local and global variablers viewing

Posted by dimon on 2009-01-28 02:43

I debug a Tcl/Tk project in Komodo 5.0. After my Tk-application was crashed during debuging session yestarday, Komodo 5.0 was crash to: I couldn't doing anything to interrupt debug session with Komodo and have erase Komodo's and wish84t's processes with Windows process manager.
When I restart Komodo and try to debug afresh, I see only a "watch" snippet in "debug" area at the lower left corner of Komodo, but cannot see a "local" and "global" snippets to monitoring a local and global variables. "Show hidden variable" button is stay disabled and the content of variables in "watch" section are not refresh in cycles.
Than, I try to uninstall Komodo 5.0, delete corresponding application's local settings directory in "Documents and settings" system directory and reinstall Komodo 5.0 but situation is stay the same :-(

What can I do?

toddw | Wed, 2009-01-28 12:07

It seems as though your debugging is either not initializing correctly or the tcl application has already finished running. What does the message say at the top-left of the Debug output pane, something like "Debugging session has ended."?

The "local" and "global" variables tab will only be show if you are in the process of debugging, such as when you hit a breakpoint. Try setting a breakpoint in your tcl application before you run.

Cheers,
Todd

dimon | Wed, 2009-01-28 23:43

ToddW, thank you for your respond. Yes, I have several breakpoints but I couldn't see a "Local" and "Global" tabs when application was stoped at one of them.
In addition with Komodo 5.0, I have a previous version of Komodo (ver. 3.5) installed on my PC. I try to debug application in Komodo 3.5 environment and that works correctly. Than, I copy Komodo 3.5 settings files into Komodo 5.0 directory (prefs.xml and prefs.xmlc files), now I can see the "Local" and "Global" tabs. :-)

With best regards, Dmitriy

toddw | Thu, 2009-01-29 11:51

Wow, that is strange behavior. I'm glad the prefs copy-over restored the settings, though I'm a little surprised 3.5 is so compatible with 5.0 :D

dimon | Fri, 2009-01-30 01:06

Todd, I suppose the situation is a few otherwise. Komodo 5.0 "takes" a Komodo's 3.5 preferences file and converts it as like it converts a .kpj file ))
With best regards, Dmitriy

prakashm_hcl | Fri, 2009-01-30 03:56

Hi,
I am a newbie to Ruby, while I have a good knowledge and experience
on TCL.

Currently I am doing a feasibilty of invoking Ruby scripts/procedures from TCL.

If anyone has got knowledge on how to do this (in one ore more ways),
pls share with me.

Thanks in advance,
Prakash
P.S.: Pls mark a copy of your response to prakashm@hcl.in