Gnu has the Data Display Debugger, or ddd, and I even found an article in English about it. I was going to ignore it for my chapter on debugging in Mastering Perl until I saw that Peter Scott showed it breifly in Perl Debugged.
After much yak shaving last night (fix my FreeBSD routing table so I could cvsup ports so I could compile gcc34 so I could compile ddd), and much online poker playing while the compilation was under way (won one tournament, second in two others, final table in another, and a miserable 48th in the last one, up 15,000 play chips by the end), I got this thing install. With more yak shaving to let my FreeBSD machine display thing on my Powerbook (not sure I had to use xhost last time I did this, odd) because my Intel laptop's monitor flickered a moment then never came back. It isn't fun editing
So, does anyone use this? Does anyone happen to have the Mac OS X binary that seems to have disappeared from the net?
Aside from that, what else might you be using as a debugger or IDE? I know about Komodo, EPIC, and Affrus. What else is out there?
ddd on OSX (Score:1)
Updating FreeBSD ports (Score:1)
Yes, barely. (Score:1)
Either that or Emacs' GUD. Both probably. I ought to learn both. It's all gdb under the hood anyway.
Used it for debugging C (Score:1)
For Perl I prefer the '-d' debugging.
Are you adding debugging of XS modules?
If so I have a neat trick to debug using gdb that I learned from muppet on the perl-xs list.
I haven't tried it with ddd, I should test it someday.
Re: (Score:2)
Re: (Score:1)
#################################################
set the env var PASTHRU_INC when compiling your extension:
$ # turn on debugging symbols, turn off optimization (to
$ # prevent out-of-order execution that makes debugging
$ # rather confusing)
$ export PASTHRU_INC='-Wall -g -O0'
then you can run your program in gdb and be taken to the exactly right
spot