[PD-dev] debugging pd with gdb or ddd

Miller Puckette mpuckett at imusic1.ucsd.edu
Sat May 27 18:06:57 CEST 2006


Get ready to laugh... when I need to run gdb on an extern, I just
link the thing into Pd, debug it, and then take it back out.  Easier than
figuring out how to get gdb to see dlopen()-ed code...

cheers
Miller

On Sat, May 27, 2006 at 10:39:40AM +0200, Georg Holzmann wrote:
> Hallo!
> 
> > How do you get gdb to find the sources for externals?  It seems to find 
> > the Pd source fine, but not the source the objects I am working on.
> hm ... you are right, break file:nr also doesn't work for me ...
> I just read somewhere that maybe you can set "break main" and then when the program stops set the breakpoints for the libraries ... but I don't know ...
> 
> > What platform are you on?  I am on Mac OS X.
> debian on a pc
> 
> LG
> Georg
> -- 
> 
> 
> Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
>       Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
>     
> 
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev




More information about the Pd-dev mailing list