[PD-dev] Xcode 4: Debug pd-external

Hans-Christoph Steiner hans at at.or.at
Tue Aug 30 23:37:09 CEST 2011


With 0.42.5, most of the command line flags were fixed in Pd-extended,
in 0.43 its definitely fixed.

.hc

On Tue, 2011-08-30 at 22:53 +0200, Thomas Grill wrote:
> Hi,
> i haven't used Xcode4 yet. For older versions i don't define the application bundle as executable, but rather the unix program, which is in e.g. 
> /Applications/Pd-0.43-0.app/Contents/Resources/bin/pd
> My experience is that pd-extended won't take any command-line parameters (which is very useful for debugging), as opposed to pd-vanilla.
> gr~~~
> 
> Am 30.08.2011 um 15:20 schrieb Patrick Gampp:
> 
> > Hi,
> > I tried to debug my puredata external with Xcode4.
> > 
> > What I did so far is:
> > 
> > 1) In the 'edit scheme'-menu, I added in the 'Executable'-list: Pd-extended.app. 
> > 2) Build configuration is Debug
> > 3) Debugger is GDB.
> > 4) I set some breakpoints in my source file.
> > 
> > When I hit Run, pd starts and I open my patch, where the external is, which I want to debug. The patch runs, but Xcode does not stop at the given breakpoints. 
> > 
> > Do you know what I am doing wrong here?
> > 
> > Thanks, 
> > Patrick
> > _______________________________________________
> > Pd-dev mailing list
> > Pd-dev at iem.at
> > http://lists.puredata.info/listinfo/pd-dev
> 
> --
> Thomas Grill
> http://grrrr.org
> +43 699 19715543
> 
> 
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev





More information about the Pd-dev mailing list