Re: Good debugger?

From: Bgc (sscherer_at_rocketmail.com)
Date: 11/17/03


Date: 16 Nov 2003 23:14:17 -0800

Cameron:

Stepping through a script sequence, one line at a time, and watching
the variables change values as you do so is a much better approach to
learning a language, in my opinion, then inputing values to a function
and observing the output. The "closeness" that you get to the code
(or whatever word that you want to use) is acheived by stepping
through it with a good debugger. What I really like about RamDebugger
is that you change values even while the code is executing (I don't
think I've ever seen a debugger do that before).

I come from a Macromedia Director background where I had access to a
"built-in" debugger (Director is unique environment). I swear I could
program for weeks straight in that environment; I felt as though I
could "speak in Director." I think that I could have gotten to that
point without interactively watching my code execute, but it would
have taken much, much longer.

Steve

claird@lairds.com (Cameron Laird) wrote in message news:<vrfr1jk904r60@corp.supernews.com>...
> In article <e96edb9f.0311032221.43f3ed28@posting.google.com>,
> Bgc <sscherer@rocketmail.com> wrote:
> >Hi Andrew,
> >
> >I'm a newbie Tcl user and I really needed a good debugger (a must for
> >newbies). Right now I'm using this:
> .
> .
> .
> RamDebugger is indeed a significant achievement. It intrigues
> me, though, that you regard a debugger as "a must for newbies".
> That's not the way *I*'ve taught Tcl to beginners. What am I
> depriving them? How would lack of a debugger have impaired
> your Tcl learning?



Relevant Pages

  • Re: Code fails with Segmentation Fault
    ... fails invariably with Segmentation Fault. ... First of all use a debugger to find out where the seg fault occurs. ... learning to use gdb [or similiar ... A graphical front-end like ddd might alleviate the learning curve. ...
    (comp.lang.c)
  • Re: Learning C
    ... in understanding the language and how it was implemented ... 'test harness' under a debugger, ... tracing someone else's code is likely to be much of a learning tool. ... I also think writing code is the probably the most useful way to learn. ...
    (comp.lang.c)
  • Re: Good debugger?
    ... > Stepping through a script sequence, one line at a time, and watching ... > the variables change values as you do so is a much better approach to ... > think I've ever seen a debugger do that before). ... especially Tkcon) is a single step tool. ...
    (comp.lang.tcl)
  • cant understand the compiler messages
    ... I am learning about the basic usage of a doubly linked list ... I have got the compiler errors which I ... program, I can use a debugger, but at this point, I can't even use a ... I am beginning to realize the difficulty of learning C++ all by ...
    (comp.lang.cpp)
  • Re: Do we have educational IDEs?
    ... instructors think debuggers are a hinderance at the early stages of learning to program. ... Look at your code first to find a problem before jumping to a debugger. ... With Java, I'll agree with you. ... choice between inserted debug code and a debugger at all. ...
    (comp.lang.java.programmer)