I am trying to debug Tcl v8.6 scripts on a remote machine in an EDA tool.
And I use Komodo IDE, version 12.0.1, build 91869, platform linux-x86_64. Built on Mon Feb 10 19:37:24 2020.
I try to “source Komodo-IDE-12/lib/support/tcl/tcldebugger_attach/attach.tcl”, and then “debugger_init <localmachine> <port>”, where I get <port> from Debug->Listener Status.
Then the console in the EDA tool hang, and I can’t type anything. So, it seems that my EDA console try to connect to debugger, but the debugger has no response, causing deadlock.
(I also tried just in tclsh, instead of EDA console, tclsh will also hang there, making no progress. )
I then try to run “Komodo-IDE-12/lib/support/tcl/dbgp_tcldebug -dbgp <localmachine>:<port> -interactive”, the Komodo debugger seems to be connected, showing the image below.
I also try TclProv1.4. TclProv1.4 also has similiar “debugger_init” scripts to connect remote application to local debugger, and it succeed. But unfortunately, TclProv1.4 doesn’t support Tcl v8.6.
From the experiment I do, it seems that remote application can’t connect to Komodo debugger using “debugger_init”.
Any suggestions are appreciated. Thanks in advance.
And I attach the log from Help -> Troubleshooting -> View Log File.