Re: Debugging a user-space HAL plugin?
Re: Debugging a user-space HAL plugin?
- Subject: Re: Debugging a user-space HAL plugin?
- From: Daniel Vollmer <email@hidden>
- Date: Mon, 19 Nov 2012 22:58:01 +0100
Hello,
On 19 Nov 2012, at 11:41, Joel Reymont <email@hidden> wrote:
> 1) Edit Scheme -> Run -> Info
>
> Executable: coreaudiod
> Debug Process As: root
> Launch: Wait for coreaudiod to launch
>
> 2) launchctl remove com.apple.audio.coreaudiod
>
> 3) Run in XCode and then start coreaudiod using
>
> launchctl load /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist
Thanks for this, I got it working with one caveat:
Your user account has to have administrator privileges for this to work. If you don't, you'll be asked to authenticate as an administrative user for debugging a root process (good), but after providing those coreaudiod either immediately exists, or Xcode doesn't wait correctly for it to launch (bad).
Slight shame, but I guess I'll live with my paranoid self and those privileges for now... ;)
Cheers for the pointer,
Daniel.
_______________________________________________
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