Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

debugging Tcl with Eclipse and dbgp_tcldebug => is unaware of 'try' statement

95 views
Skip to first unread message

Holger Jakobs

unread,
May 31, 2016, 8:30:50 AM5/31/16
to
Trying to use Eclipse with dbgp_tcldebug for debugging Tcl. If an error occurs within a catch, everything is fine. But if an error occurs within a try, the program crashes immediately as if it had happened outside of a try.

Actually, the debugger seems to be unaware of the try statement. Since try is not that new, how come it hasn't been updated?

Btw, the try word isn't colored like puts or catch, but remains black non-bold.

Gerald W. Lester

unread,
May 31, 2016, 12:33:51 PM5/31/16
to
I don't think that the Eclipse Tcl plugin (or whatever it is called) is
aware of any syntax after 8.4 -- but I could be wrong.

--
+------------------------------------------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+

Holger Jakobs

unread,
Jun 1, 2016, 2:59:00 AM6/1/16
to
A workaround is to set the Option "Error action" to "Stop never" in Window - Preferences - Tcl - Debug - Engines - ActiveState on the tab "Instrumentation".

heinrichmartin

unread,
Jun 1, 2016, 7:48:28 AM6/1/16
to
On Tuesday, May 31, 2016 at 6:33:51 PM UTC+2, Gerald W. Lester wrote:
> I don't think that the Eclipse Tcl plugin (or whatever it is called) is
> aware of any syntax after 8.4 -- but I could be wrong.

I can confirm that "Dynamic Languages Toolkit - TCL Development Tools 2.0.0.v20100505-1154-7L0-EC3wSZiWSqREkvtZ org.eclipse.dltk.tcl.feature.group" is not aware of the list expansion operator {*}.

Andreas Kupries

unread,
Jul 1, 2016, 4:07:50 PM7/1/16
to
The dbgp_tcldebug is written by ActiveState for their Komodo IDE.
I don't think that use with Eclipse is officially supported.

You could try with a free trial of the most recent Komodo version if
it has the same issue. If yes, then you can file a ticket with
ActiveState.

You/Eclipse might have/use an outdated version of the engine.
I do not know how/where eclipse is getting the binary.

Note:
dbgp_tcldebug --version

should print a version number with build number. While that does not
tell you explicitly what it has inside with regard to Tcl 8.6 support
this will be useful information to provide should you file a ticket
with AS. It likely would be the first thing you will be asked for
should you not provide it in the ticket.

--
So long,
Andreas Kupries <akup...@shaw.ca>
<http://core.tcl.tk/akupries/>
Developer @ Hewlett Packard Enterprise

Tcl'2016, Nov 14-18, Houston, TX, USA. http://www.tcl.tk/community/tcl2016/
-------------------------------------------------------------------------------
0 new messages