debugging plug-ins in ardour

I am trying to debug a plug-in in ardour, but ardour.app doesn’t appear to launch from xcode3 like other hosts

I get the error:
Running…
No executable file specified.
Use the “file” or “exec-file” command.
No executable file specified.
Use the “file” or “exec-file” command.
The program being debugged is not being run.

does anyone know the solution?

I can “attach to process” after starting ardour

olilarkin: missed you on IRC.

(1) ardour does not use xcode - we are a cross-platfom project, so we a build system that is crossplatform - xcode is not.

(2) you probably need to read http://ardour.org/debugging_ardour - you’re actually debugging a plugin, but almost everything in there applies.

(3) the program that is actually invoked to start ardour is a shell script that has to set up some environment variables before the dynamic linker gets started. this is true for several other larger applications, not just ardour.

thanks,

I will stick to “attach to process”. seems to do the job