Debugging tip for AudioServerPlugin
Debugging tip for AudioServerPlugin
- Subject: Debugging tip for AudioServerPlugin
- From: Robert Bielik <email@hidden>
- Date: Tue, 24 Nov 2015 16:29:40 +0100
Hi all,
I've seen that many start/stop coreaudiod outside Xcode when debugging
their AudioServerPlugin.
Here's a neat tip that makes life a lot easier:
1. Setup the "Wait for executable..." as usual.
2. In the Debug scheme, expand so you can set "Pre-action", in
pre-action you do the shell commands:
sudo launchctl unload
/system/library/launchdaemons/com.apple.audio.coreaudiod.plist
sleep 1 && sudo launchctl load
/system/library/launchdaemons/com.apple.audio.coreaudiod.plist &
First line will stop coreaudiod and second will start it delayed so that
Xcode is ready for attaching when coreaudiod starts up! :)
Regards
/Robert
_______________________________________________
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