RE: AU Debug Problem with XCode
RE: AU Debug Problem with XCode
- Subject: RE: AU Debug Problem with XCode
- From: Darrell Gibson <email@hidden>
- Date: Wed, 6 May 2009 12:10:38 +0100
- Acceptlanguage: en-US, en-GB
- Thread-topic: AU Debug Problem with XCode
Bill,
Thanks for your reply. I should have clarified that I had added a new build phase to the project that Copy's the component to the ~/Library/Audio/Plug-Ins/Components directory. However, your reply did prompt me to look at the build options again and I noticed a option "Strip Debug Symbols During Copy" was ticked. As soon as I unticked this option the debugger hit the breakpoints. (I'd not had this problem with my VST project as in this project I'd added a Run Script phase to the project and copied the VST in the script.)
The question now is why is this option ("Strip Debug Symbols During Copy") set the in the Debug configuration of the AU project? Surely this option should be set in the Release and not set in the Debug, or am I missing something here?
Thanks again for your help.
Darrell.
________________________________________
From: William Stewart [email@hidden]
Sent: 06 May 2009 03:14
To: Darrell Gibson
Cc: email@hidden
Subject: Re: AU Debug Problem with XCode
I think the main thing you need to do is to create a symlink to
your .component build product from a directory that the component
manager knows about.
So I do:
% cd ~/Library/Audio/Plug-Ins/Components
% ln -s /where/your/au.component
then when you launch from XCode you should be fine
Bill
On May 5, 2009, at 4:42 AM, Darrell Gibson wrote:
>
> I'm having problems debugging AU's with XCode (3.1.1). I've set-up
> the Executable as AU Lab (I've also tried Logic) and set a
> breakpoint in the kernel Process function, but when I run the
> debugger the breakpoint is never hit. (I've been using a similar
> procedure all week debugging a the VST version without any problem
> so I'm fairly confident I'm not making a silly mistake.) I'm using
> the 10.5 SDK and I've checked all build options and the preferences
> and can't see any problems. In the end I've created a new project
> with the default code and get the same results. I've searched for
> solutions and previous mails and found this previous question (http://lists.apple.com/archives/Coreaudio-api/2007/Dec/msg00066.html
> ), which is exactly the same, but no solutions were offered.
>
> I need to be able to run the debugger on AU problems and any help
> would be greatly appreciated.
>
> Thanks in advance.
>
> Darrell Gibson
>
> The UK's no. 1 new university
> The Guardian University Guide 2009
>
> This email is intended only for the person to whom it is addressed
> and may contain confidential information. If you have received this
> email in error, please notify the sender and delete this email,
> which must not be copied, distributed or disclosed to any other
> person.
> Any views or opinions presented are solely those of the author and
> do not necessarily represent those of Bournemouth University or its
> subsidiary companies. Nor can any contract be formed on behalf of
> the University or its subsidiary companies via email.
>
>
> _______________________________________________
> 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
_______________________________________________
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