Re: Debugging an AudioUnit in Xcode 2.0
Re: Debugging an AudioUnit in Xcode 2.0
- Subject: Re: Debugging an AudioUnit in Xcode 2.0
- From: Stefan Gretscher <email@hidden>
- Date: Thu, 24 Nov 2005 01:51:43 +0100
If you want to debug your AU in general, use AU Lab, which has been
designed by the CoreAudio team for this very purpose.
Yes, but it's almost the same with AU Lab. AU lab does start though,
but it refuses to load any AUs, not even Apple's or any other
manufacturer's.
Ok if AU Lab isn't working either, then it's not the debugging
protection but some other problem.
I use the latest CoreAudio SDK 1.4.3, but it looks like it's some
library compatibility issue. Maybe some frameworks. When AU lab is
started from Xcode 2.0 / GDB, then none of the AudioUnits are loaded.
Is there any particular reason why you're using XCode 2.0?
At the ADC website XCode 2.2 is available...
However, they are when it's started without a debugger. They all echo
the following (snippet):
code 4, error number 0 (Symbol not found: __FSOpenForkWithCatalogInfo
Referenced from:
/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/
Versions/A/DesktopServicesPriv
Expected in:
/System/Library/Frameworks/CoreServices.framework/Versions/A/
CoreServices_debug
)
Hm, looking at this output I'd guess that maybe you did specify a
binary image suffix ("_debug") in your XCode settings somewhere.
Seems like this is set so it tries to load the debug version of
CoreServices - which for some reason doesn't implement
__FSOpenForkWithCatalogInfo.
When launching from Finder, it'll not use the image suffix and thus
load the normal version of CoreServices which seems to work.
For more info on the "_debug" suffix, search for "DYLD_IMAGE_SUFFIX"
on this page:
http://developer.apple.com/technotes/tn2004/tn2124.html
I think if you disable the suffix, then it'll let you debug again.
Still, I wonder why your version of CoreServices_debug doesn't have
this function...
Looks like there are some new frameworks which need to be included in
the project to enable debugging.
AFAIK there is no special "link this if you want to debug" framework,
at least not in any of my projects (which are debuggable).
Best,
Stefan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden