Re: logging coreaudio server plugin driver
Re: logging coreaudio server plugin driver
- Subject: Re: logging coreaudio server plugin driver
- From: Ploytec <email@hidden>
- Date: Wed, 24 Sep 2014 11:04:15 +0200
Hi Hagen
Nice to read you :-)
syslog works fine (except that it's not very nice under Lion).
Once again, debugging coreaudiod with xcode works perfectly (with xcode 5 ore newer, not xcode 4).
Menu Debug/Attach to Process/By process Identifier (PID) or Name... (I use a shortcut)/Process Name: coreaudiod; Debug Process As: root.
Set your breakpoints and it works! The only problem is that, when stopped in a breakpoint, any system audio (an alert, for example, or a wrong tipped key, or a click at the wrong place... :'-( ) will freeze the UI during a couple several seconds because coreaudiod is stopped in your breakpoint.
Cheers
Eric
Le 24 sept. 2014 à 10:45, hagen <email@hidden> a écrit :
> Thanks, Eric,
>
> how are you? :)
> /dev/nul is definitely not my preferred log destination.
> I will check out your hints!
>
> Cheers,
> Hagen.
>
>
>
>
>
>
> On 23 Sep 2014, at 18:31, Ploytec <email@hidden> wrote:
>
>> Hi Hagen
>>
>> It goes to /dev/null.
>> Use syslog.
>>
>> You debug coreaudiod in xcode, by attaching as root.
>>
>> Best
>> Eric
>> Le 23 sept. 2014 à 18:23, hagen <email@hidden> a écrit :
>>
>>> Hi,
>>>
>>> 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?
>>>
>>> Further, is debugging a coreaudio server plugin driver possible from within Xcode? And if so, how?
>>>
>>> Thanks and best regards,
>>> Hagen.
>>>
>>> _______________________________________________
>>> 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