Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging an AudioUnit in Xcode 2.0



Interesting... The _debug versions of the system libraries have a lot of asserts that are supposed to catch various programming errors. That Logic or some component below it is tripping over one of the asserts is worth filing a bug over. Either there's a problem with Logic (or whoever is actually raising the assert) or with the assert itself. Anyway, that's not a tools problem.

Jim


On Nov 29, 2005, at 1:22 AM, Mikael Hillborg wrote:


Jim Ingham wrote:

Try breaking on "abort" and "exit" and see where it's exiting. That might give you some better sense of what is going on?

You can eliminate environment variable effects by running the
program, and doing "show env" from gdb.  Then try running the app and
attaching to it (you can do this from the GUI in Xcode 2.2.)  You can
then do "show env" and compare the two.

Anyway, as long as you don't need to debug the app startup, you can
use "attaching" to the already running app as a workaround.

Jim

I'll try. There's a work around though. That is to open the Executable inspector in Xcode, go to the General tab and select "Use 'no' suffix when loading frameworks". Then the ordinary system libraries, and not the debug versions, will be loaded and it'll work. The debug system libraries which have the suffix _debug seem to create a problem causing the hosts to exit (in both Xcode 2.2 and 2.0).

Mike


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >RE: Debugging an AudioUnit in Xcode 2.0 (From: "Mikael Hillborg" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.