Re: logging coreaudio server plugin driver
Re: logging coreaudio server plugin driver
- Subject: Re: logging coreaudio server plugin driver
- From: Ed Wynne <email@hidden>
- Date: Tue, 23 Sep 2014 12:34:24 -0400
On Sep 23, 2014, at 12:23 PM, hagen <email@hidden> wrote:
> I hope its the right place, because this question targets the other end of coreaudio.
> I also hope it hasn’t asked before, but Apples Mailing List Webinterface makes it impossible to find anything (who thought its a good idea to have threads sorted by months???)
>
> Well; where does my std::cout or std::clog output goes from my coreaudio server plugin driver?
> Or in other words, how do I log from a coreaudio server plugin driver?
You can't get access to stdout or stderr without modifying the system launchd config. You can use ASL (i.e., syslog) though, it works just fine.
> Further, is debugging a coreaudio server plugin driver possible from within Xcode? And if so, how?
Nope, and in most cases you also really don’t want to do it on the same machine due to GUI runtime dependencies. The best way to debug coreaudiod is to ssh in from another machine, sudo -s to root, and lldb -p <pid_of_coreaudiod>.
-Ed
_______________________________________________
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