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:
- In the 'edit scheme'-menu, I added in the 'Executable'-list: Pd-extended.app.
- Build configuration is Debug
- Debugger is GDB.
- 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@iem.at http://lists.puredata.info/listinfo/pd-dev