• What is the state of Tcl debugging

    From Phillip Brooks@21:1/5 to All on Tue Apr 11 22:03:59 2023
    What is the current status of interactive debugging in Tcl?

    I see that the FlightAware bounty for interactive debugging has been paid, but can't find any discussions about it or how to use it. I recall the VS Code presentation by Johnathan Cone at the 2018 Tcl conference, but that project seems entirely inactive.

    Is there a currently supported interactive debug tool integrated with Tcl? If so, why are there so many outdated links to things like TclPro out there, but nothing else? If not, what's the story behind the paid bounty?

    https://github.com/flightaware/Tcl-bounties#revive-the-tcl-pro-debugger

    https://www.tcl-lang.org/community/tcl2018/assets/talk137/Paper.pdf

    Phil

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From saitology9@21:1/5 to Phillip Brooks on Fri Apr 14 11:00:18 2023
    On 4/12/2023 1:03 AM, Phillip Brooks wrote:
    What is the current status of interactive debugging in Tcl?

    I see that the FlightAware bounty for interactive debugging has been paid, but can't find any discussions about it or how to use it. I recall the VS Code presentation by Johnathan Cone at the 2018 Tcl conference, but that project seems entirely
    inactive.

    Is there a currently supported interactive debug tool integrated with Tcl? If so, why are there so many outdated links to things like TclPro out there, but nothing else? If not, what's the story behind the paid bounty?

    https://github.com/flightaware/Tcl-bounties#revive-the-tcl-pro-debugger

    https://www.tcl-lang.org/community/tcl2018/assets/talk137/Paper.pdf

    Phil

    I believe this tool was part of ActiveState's TclDevKit (TDK). It was a
    good quality product and I do wish it were still available.

    There was some discussion from last year claiming that TDK had been
    released as open-source software. Some people rather strongly pointed
    this fact up. However, it was contradictory to emails I received from ActiveState as an ex-customer. I think the confusion may have been
    that, even open-source software projects may require a valid paid
    license and what you can and can't do with it.

    Even now, if you go to activestate.com and search for TDK, it comes up
    as available for purchase but with a minimum of 10 units, which is weird.

    So, perhaps the Flightaware team offered the bounty and quickly realized
    that they did not have the rights to do so, or did, but only for their
    internal use.

    Anyway, no solid info and just speculation :-)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to All on Sat Apr 15 23:09:46 2023
    Hi,
    the distribution of Magicsplat (by Ashok P. Nadkarni) include TclPro Debugger 2.0.
    I use it regularly and haven't found bugs.
    The interface is a bit outdated. I miss, of a more modern debugger, to see the values of the variables just by hovering over them. But overall it does the job.

    Saludos,

    Alejandro

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Phillip Brooks@21:1/5 to [email protected] on Mon Apr 17 10:44:50 2023
    On Saturday, April 15, 2023 at 11:09:49 PM UTC-7, [email protected] wrote:
    Hi,
    the distribution of Magicsplat (by Ashok P. Nadkarni) include TclPro Debugger 2.0.
    I use it regularly and haven't found bugs.
    The interface is a bit outdated. I miss, of a more modern debugger, to see the values of the variables just by hovering over them. But overall it does the job.

    Saludos,

    Alejandro

    Thanks for the responses. I had been under the impression that the TclPro Debugger was defunct, but see now that it isn't. Does anyone know if it works on the latest Tcl 9 top of trunk builds?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From blacksqr@21:1/5 to Phillip Brooks on Mon Apr 17 12:18:14 2023
    On Wednesday, April 12, 2023 at 12:04:02 AM UTC-5, Phillip Brooks wrote:
    What is the current status of interactive debugging in Tcl?

    I see that the FlightAware bounty for interactive debugging has been paid, but can't find any discussions about it or how to use it. I recall the VS Code presentation by Johnathan Cone at the 2018 Tcl conference, but that project seems entirely
    inactive.

    The debugger update paid for by FlightAware is at:

    https://github.com/flightaware/TclProDebug

    The original documentation for the debugger is still valid. You should be able to find it via some web searching, for example at:

    https://www.ing.iac.es//~docs/external/tcl/tclpro/html/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Petro Kazmirchuk@21:1/5 to All on Thu Apr 20 10:19:15 2023
    ActiveState Komodo IDE is now free, and comes with a good debugger too. Not sure though if it works with Tcl 9.
    https://github.com/ActiveState/OpenKomodoIDE/tree/master/installers

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to All on Thu Apr 20 17:13:17 2023
    Note : Komodo IDE is free but registration (in ActiveState) is still required .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Rickster@21:1/5 to Phillip Brooks on Fri Apr 21 16:46:08 2023
    On Tuesday, April 11, 2023 at 10:04:02 PM UTC-7, Phillip Brooks wrote:
    What is the current status of interactive debugging in Tcl?

    I see that the FlightAware bounty for interactive debugging has been paid, but can't find any discussions about it or how to use it. I recall the VS Code presentation by Johnathan Cone at the 2018 Tcl conference, but that project seems entirely
    inactive.

    Is there a currently supported interactive debug tool integrated with Tcl? If so, why are there so many outdated links to things like TclPro out there, but nothing else? If not, what's the story behind the paid bounty?

    https://github.com/flightaware/Tcl-bounties#revive-the-tcl-pro-debugger

    https://www.tcl-lang.org/community/tcl2018/assets/talk137/Paper.pdf

    Phil
    Komodo - been using it for 8 years and it is still going strong...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Phillip Brooks@21:1/5 to All on Tue Apr 25 09:22:06 2023
    Thanks for all the comments. I grabbed the FlightAware tree and it is proving to be quite capable. I am finding that if I click on Edit->Preferences, it will crash the debugger gui. Not sure if I am missing something in my installation, or if there is
    a bug in there, but as long as I stay away from that, it seems to be pretty functional. I haven't tried hooking it up to VS Code yet. It will be interesting to see if that works.

    It would be nice if someone would update the Tcl Wiki debug pages. They seem to be quite out of date.

    Phil

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jacob@21:1/5 to Phillip Brooks on Wed Apr 26 15:30:39 2023
    On 4/11/2023 10:03 PM, Phillip Brooks wrote:
    What is the current status of interactive debugging in Tcl?

    I see that the FlightAware bounty for interactive debugging has been paid, but can't find any discussions about it or how to use it. I recall the VS Code presentation by Johnathan Cone at the 2018 Tcl conference, but that project seems entirely
    inactive.

    Is there a currently supported interactive debug tool integrated with Tcl? If so, why are there so many outdated links to things like TclPro out there, but nothing else? If not, what's the story behind the paid bounty?

    https://github.com/flightaware/Tcl-bounties#revive-the-tcl-pro-debugger

    https://www.tcl-lang.org/community/tcl2018/assets/talk137/Paper.pdf

    Phil

    tkcon has some basic debugging capabilities. I'll look into some of the suggestions here, but I always ran into issues with the fancier
    programs. I really liked the interface to RamDebugger, but I wasn't able
    to get it working well with current versions of TCL.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)