Debugging an AudioUnit in Xcode 2.0
Debugging an AudioUnit in Xcode 2.0
- Subject: Debugging an AudioUnit in Xcode 2.0
- From: "Mikael Hillborg" <email@hidden>
- Date: Wed, 23 Nov 2005 23:28:31 +0100
- Importance: Normal
Hi,
I try to debug in AudioUnit using Xcode 2.0, but the host (app)
doesn't start when I select "Debug Executable" in the Xcode menu.
It just jumps up and down in the dock and never succeeds to start.
Starting it manually works fine though. But I need to start it from
Xcode to be able to debug. What's wrong? Any clues?
Here's the output with Logic Pro 7 as the host. It seems to throw an
exception, don't ask me why, it works fine if it's started with the
AudioUnit, but without Xcode and the GDB debugger:
(gdb) run
[Switching to process 431 local thread 0xf03]
RunningÂ…
2005-11-23 23:10:10.214 Logic Pro[431] CFLog (0): Assertions enabled
2005-11-23 23:10:10.593 auval[439] CFLog (0): Assertions enabled
2005-11-23 23:10:10.853 auval[440] CFLog (0): Assertions enabled
2005-11-23 23:10:12.005 Logic Pro[431]: DebugAssert: HIToolbox: ResolveLinkedMenuItem( &menuData, (MenuItemIndex*) &item )
exception_DeleteMenuItem_ItemOutOfRange [Menus/Source/MenuItems.cp:802]
2005-11-23 23:10:12.279 Logic Pro[431]: DebugAssert: HIToolbox: ResolveLinkedMenuItem( &menuData, (MenuItemIndex*) &item )
exception_DeleteMenuItem_ItemOutOfRange [Menus/Source/MenuItems.cp:802]
(gdb)
And here's the output with Metro 6.0.8 as the host. No exceptions here,
but the same problem (the host never starts, just jumps up and down in
the dock):
(gdb) run
[Switching to process 417 local thread 0xf03]
RunningÂ…
2005-11-23 23:08:34.011 Metro G4[417] CFLog (0): Assertions enabled
2005-11-23 23:08:36.090 Metro G4[417]: DebugAssert: ATS: Using old glyphs cache path[Glyphs/ATSGlyph.c:455]
2005-11-23 23:08:36.310 Metro G4[417]: DebugAssert: ATS: Using old glyphs cache path[Glyphs/ATSGlyph.c:455]
(gdb)
If I start these hosts by double clicking on them, the usual way, then they
start and the AudioUnit can also be run without any problems. It also passes
the auval. Debug info has been generated and all optimizations are switched
off (very debuggable). The debug window writes "GDB: Interrupted" at the
bottom of the window. I can't understand why. The host hasn't even been
started (it doesn't start, it seems to hang).
Am I missing some files? Glyphs and/or HIToolbox?
/Mike
_______________________________________________
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