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

What is your Tcl development setup, IDE, Tools, etc ... ?

311 views
Skip to first unread message

Ali M

unread,
Jan 9, 2018, 11:37:14 AM1/9/18
to
Which IDE, text editor do you use?

Does Tcl/TK have a debugger?

How do you install, Libraries, extensions, command, do you use the OS package management, do you use teacup?

In general, what is your setup?

Luis Alejandro Muzzachiodi

unread,
Jan 10, 2018, 7:15:31 PM1/10/18
to
For debug, my tool is Ramdebugger.
Iniatially my choosed editor was ASED but become obsolete (however i believe that there are some update recently) so i've changed for Wscite. I like because it's very ligth.
For package, I´ve used Teacup but, as you know, Activestate ceased its support so i haven´t updated my system for a while.
I hope this help you,

Alejandro

Ali M

unread,
Jan 10, 2018, 10:41:23 PM1/10/18
to

Thanks Luis for your reply

My personal research led me to either Eclipse or Komodo IDE

I am not a fan of Komodo IDE, the product is very expensive
I think they should consider offering slimmed down versions that support a single language ... for a much cheaper price, since their argument for the price is usually that they support many languages

And anyway, as you said, they seem to be abandoning Tcl

Eclipse, seems fair to me

Ramdebugger seems interesting, but that also seem to be abandonned, and doesnt support more recent versions of Tcl

Rich

unread,
Jan 10, 2018, 11:01:19 PM1/10/18
to
Ali M <tclwa...@gmail.com> wrote:
> Which IDE,

None. I absolutely detest IDEs, so I do not, ever, use one.

> text editor do you use?

The joe editor: https://joe-editor.sourceforge.io/

> Does Tcl/TK have a debugger?

Not a built in one. But tkcon (http://tkcon.sourceforge.net/) is very
useful when needing to debug. And there is always available the
old-school method of "print statements" (puts in Tcl) to output
information to debug with (which work with almost any language, and
almost anywhere).

> How do you install, Libraries, extensions, command,

Depends upon the library, extension, or command.

> do you use the OS package management,

For some, yes, for others no, which is why the above answer is "it
depends".

> do you use teacup?

No.

> In general, what is your setup?

Slackware Linux machine, rxvt or xterm terminal, joe editor.

Ashok

unread,
Jan 11, 2018, 1:58:30 AM1/11/18
to
On 1/9/2018 10:07 PM, Ali M wrote:
> Which IDE, text editor do you use?

I use the operating system called emacs :-) Decent Tcl editing mode and
interactive shell for Tcl execution. I presume you would have seen the
multiple Tcl editor options on the wiki.

> Does Tcl/TK have a debugger?

The tkcon console has several facilities for debugging running programs.
Most Tcl'ers I know do not use a "traditional" debugger because Tcl's
dynamic nature makes it very easy to examine, edit and re-execute code
on the fly through an interactive console. If you do prefer a more
traditional debugger, I know of three options - RamDebugger (which I'm
not sure works with new Tcl versions), the ActiveState Komodo version
(which I think is not free) and imho your best bet TclProDebug,
originally from ActiveState, now open source and brought up to date
thanks to FlightAware. It is available from
https://github.com/flightaware/TclProDebug

>
> How do you install, Libraries, extensions, command, do you use the OS package management, do you use teacup?
>
> In general, what is your setup?
>

You did not mention platform. Since you mention package management, I
presume you are not on Windows. On Linux I generally prefer to build my
own as I find OS packages lag behind the latest releases, sometimes
significantly so.

/Ashok

Rolf Ade

unread,
Jan 11, 2018, 1:24:42 PM1/11/18
to

Ali M <tclwa...@gmail.com> writes:
> Which IDE, text editor do you use?

I'm using emacs (for one reson see below). The included tcl-mode isn't
perfect, but mostly works well enough.

> Does Tcl/TK have a debugger?

There are debuggers. I don't use one. Instead, I start my tcl-code from
within emacs, which opens a separate buffer with an interpreter command
line (yes, within the editor). This allows me to investigate the state
of the programm. I can edit the code and evaluate it in the running
application. This makes the process of inserting debugging output and
re-testing very slim. And is helpful especially while implementing a
GUI.

> How do you install, Libraries, extensions, command, do you use the OS
> package management, do you use teacup?

I typically build and install from sources.

> In general, what is your setup?

I'm mostly working on linux (although my commercial used programms
(mostly) saled on windows).

two...@gmail.com

unread,
Jan 11, 2018, 3:46:25 PM1/11/18
to
On Tuesday, January 9, 2018 at 8:37:14 AM UTC-8, Ali M wrote:
> Which IDE, text editor do you use?
>
> In general, what is your setup?

Well, what a fun question.

I use the editor editpad pro and a file compare utility called beyond compare plus a bunch of tcl procedures and programs I’ve written to track changes, and display debugging info. I only write tcl programs for my own amusement and use androwish to port my programs to android.

Editpad pro has templates that can have a few parameters. So, for example, I can with a single click insert several if/elseif/foreach/if-catch/proc/widgets/…. templates, which indent correctly.

I use beyond compare to display the side by side differences. I make use of editpad’s file history folders to compare any two versions of my current file edit using a tcl program I wrote to launch BC. Of course it helps to have multiple monitors.

I use the console as my debugger, and I’ve modified the menus and added buttons to it using console eval statements. I then have tcl proc’s that use tcl’s introspection tools to display various things, such as all widgets attributes.

I use the latest tclkits supplied by /Ashok when I work with windows. I then build a wrapper around it and include my console changes, favorite packages and a set of 2 letter commands to display various things, like widgets, procs, arrays, globals, etc.

I use androwish to run tcl/tk code on my android phones and tablets. I do all the development on windows using a program called webdrive that lets me map a windows drive letter to the androwish folder on whichever phone or tablet I mount using a ssh server. This lets me edit files on my android devices using my same windows editor and compare tools. Many of my programs are highly portable between windows and android.

Hope that gives you some ideas.

EL

unread,
Jan 12, 2018, 6:11:26 AM1/12/18
to
Am Dienstag, 9. Januar 2018 17:37:14 UTC+1 schrieb Ali M:
> Which IDE, text editor do you use?

You could consider my Tloona environment. Editor, Console and code browser, written in Tcl itself... Deployment as starkit/starpack included.

https://github.com/ecky-l/tloona

> Does Tcl/TK have a debugger?

Not that I know of for recent versions... unfortunately. I usually send the code to the console (in Tloona) and execute it immediately in a living program. Most time I don't need a debugger, but sometimes it would be handy to have one.

> How do you install, Libraries, extensions, command, do you use the OS package management, do you use teacup?
>

Extension management is a huge problem with Tcl. I browse the net for extensions, but I wish there was a central repository where I could browse and download extensions via a build tool. As there is for most other languages in the mean time.

> In general, what is your setup?

Mostly just Tloona and ActiveTcl.

Xcott Craver

unread,
Jan 12, 2018, 4:16:25 PM1/12/18
to
I'm basically rubbing two sticks together: my editor is vi, I run
everything from the command line, and I use the default installation
that comes with OSX. If a library isn't there, I don't use it, and
even if it is there, I'm wary of using it.

Part of that is due to the fact that I use Tcl in class, and I need to
make programming examples and assignments pretty universal. Also if I
write code for other people, I don't want to scramble to fix things
because a random Apple update decided to remove the Img library for no
good reason.

On top of that, I never needed very much infrastructure for Tcl. The
error messages are informative enough, and the introspection and
exception handling rich enough, that I simply don't need the
environment that I've needed for other languages. Most of the time
it's unnecessary to check the documentation, for example, because I can
just pop open another window and experimentally type a command if I
need to remember its order of arguments or some corner case of its
behavior.

--
==
"Taking jokes seriously is the exact mirror activity of laughing if
someone says they have cancer." --jbou

0 new messages