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

Thomas Grill gr at grrrr.org
Tue Aug 30 22:53:08 CEST 2011


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




More information about the Pd-dev mailing list