Re: I can't get breakpoints to work?
Re: I can't get breakpoints to work?
- Subject: Re: I can't get breakpoints to work?
- From: Michael Hopkins <email@hidden>
- Date: Tue, 1 Apr 2008 17:48:34 -0700
Also, make sure that your target does not have "strip debug symbols
during copy" enabled for the Deployment settings under the development
configuration.
-michael
On Mar 26, 2008, at 2:32 AM, Pierre-Jean Camillieri wrote:
Hi Bill
Thank you for your answer.
Actually, I had done 'this' (I was copying the file directly into
the correct directory using a Copy Files build phase). Or do you
mean it must be a symbolic link instead of an actual copy of the file?
Otherwise, in case it helps someone else, I found a 'weird' turn
around: switching the Active Build Configuration to Release (instead
of Debug), without changing anything else, did the trick (just to be
precise: I am using the projects templates from the SDK, and didn't
make any major changes).
Thanks
Pierre
Le Mar 25, 2008 à 10:09 PM, William Stewart a écrit :
How are you loading your audio unit?
You have to have it built and placed into a special directory -
typically ~/Library/Audio/Plug-Ins/Components
what we normally do to do this is:
% cd ~/Library/Audio/Plug-Ins/Components
% ln -s /Path/To/Your/Build/Dir/MyAU.component
% touch .
This creates a symbolic link from the components directory to your
build dir's built product: MyAU.component.
Then it should work just fine.
If you do clean build, you have to do the above three steps again
(after first removing the current sym link) - so we generally don't
do clean builds, but just delete all the .o files :)
Bill
On Mar 25, 2008, at 4:52 AM, Pierre-Jean Camillieri wrote:
Hi guys
I am probably missing something obvious - I apologize for that -,
but I checked older threads on that topic, and none could help me:
- I built a project in Xcode using the Audio Unit Instrument
template
- I followed very carefully the instructions of the programming
guide (adding a Copy Files build phase, specifying GarageBand or
AU Lab as Custom Executables)
- I checked the Build settings for my target, and they do show
that Generate Debug Symbols is checked.
Everything goes 'fine', I can load the effect, play with it etc on
either Garage Band or AU Lab, but I can't get breakpoints to work
(even when I set them in places where I know they should be hit -
like in the constructor of the AU).
Is there something additional I need to do in Xcode? Just in case:
I am on 10.5.2 with Xcode 3.0.
Thank you!
Pierre
_______________________________________________
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
_______________________________________________
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