[PD-dev] Xcode 4: Debug pd-external
Hans-Christoph Steiner
hans at at.or.at
Tue Aug 30 19:00:52 CEST 2011
I don't use Xcode, so I don't know specifics. My guess is that you have
to also add 'pd' itself. Pd is two processes 'pd-gui' and 'pd'. On Mac
OS X, the 'pd-gui' process is represented by Pd-extended.app (in
Contents/MacOS/Pd-extended). You probably need to also add 'pd', which
is Pd-extended.app/Contents/Resources/bin/pd
What ever you figure out, it would be great if you could add a
"Debugging" section to this wiki page:
http://puredata.info/docs/developer/PdExternalsInXcode
.hc
On Tue, 2011-08-30 at 15:20 +0200, Patrick Gampp wrote:
> 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
More information about the Pd-dev
mailing list