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: "Mikael Hillborg" <email@hidden>
- Date: Wed, 23 Nov 2005 23:23:33 +0100
- Importance: Normal
Pavol Markovic wrote:
>
> Maybe output from Xcode's gdb console can bring some enlightenment here.
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 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):
(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. Maybe this is a question I should ask on the CoreAudio list instead,
but the problem really seems to be with GDB and/or Xcode. Debug info is
generated and all optimizations are switched off (very debuggable).
/Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden