[flext] Setting up xcode for flext!

Patrick Gampp Patrick.Gampp at gmx.de
Mon Dec 17 10:29:47 CET 2012


Am 15.12.2012 16:48, schrieb Òscar Martínez Carmona:
> I can't get any instance!
> What could I be doing wrong? There's any way for debugging the external??

Hi Oscar,
for debugging your source using Xcode, attach the GDB (which can also be 
used in Xcode) to the Puredata process.

1) In the 'edit scheme'-menu, add in the 'Executable'-list: 
Pd-extended.app (or equivalent binary).
2) Build configuration is Debug generating debug symbols which can be 
evaluated by GDB.
3) Set Debugger to GDB.
4) Set some breakpoints in the constructor of your source file.

You get the process id of your running Pd in the terminal by
ps -ax | grep pd
or
ps -ax | grep /usr/bin/pd (or equivalent path of your pd binary)

Pd has two processes, one for the GUI and one for DSP, so be sure that 
you attach to the correct process.

Patrick




More information about the flext mailing list