On Thu, Mar 22, 2001 at 12:03:02PM +0000, Robin Szemeti wrote:
> But debugging tools can be very very good .. If anyone has used the Borland
> Turbo Debugger for C / C++ you'll know what I mean . even the old DOS
> version is just plain brilliant .. step around code, change registers, place
> watches on variables, set conditional break points ... I really wish I had a
> similar tool for Perl .. and although perl -d is great its not as good as
> something like Borland TurboDebugger.

Hrrm, yes, *BUT*... C and Perl are very different languages. 

I use gdb, and I think it's great. Debugging C with lots of print statements
is a pain; mainly, though, because you have to recompile each time and it's
time-consuming. (On the other hand, when it comes to debugging shared
libraries and XS code, I'll still take printf over gdb any day - it's just far
more convenient) 

Perl, on the other hand, is really quick to edit and it doesn't need a lengthy
compilation phase. I don't think I've ever used perl -d, to be honest, and I
don't think I'd use a whizzy graphical debugger. (I tried using ddd for Perl,
but didn't really like it.) 

But on the gripping hand, I suppose I make less mistakes in Perl than I do in
C. :)

-- 
A year spent in artificial intelligence is enough to make one believe in God.

Reply via email to