• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Debugging / Logging from AudioServerPlugIn
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging / Logging from AudioServerPlugIn


  • Subject: Re: Debugging / Logging from AudioServerPlugIn
  • From: Frederic De Jaeger <email@hidden>
  • Date: Wed, 06 May 2015 09:39:23 +0200

Hi,
Personaly, I'm logging to /Library/Preferences/Audio/mylogfile.
This is one of the few area you have access to from the sandboxed coreaudiod.

About the breakpoints, I followed this 
https://groups.google.com/d/msg/coreaudio-api/PDQ3V5NrGI0/RvsgjFHqqcwJ
and it worked (I did not try since I upgraded to 10.10 and the latest xcode, so make a prayer)

Fred


2015-04-24 2:04 GMT+02:00 Seth Willits <email@hidden>:
Two things:



1) I can manage to get the debugger to attach to coreaudiod, but it never stops on any breakpoints.

I've read the past mailing list threads on debugging, for example
https://groups.google.com/d/msg/coreaudio-api/g5TrSW4hJFw/W6S8SZu7NE0J

The debugger attaches as root when coreaudiod fires up, and I can pause the debugger and see the threads etc, but it never breaks on the breakpoints I have set in any of the functions in the AudioServerPlugIn which I know are being called. For example NullAudio_Create and NullAudio_QueryInterface in the Apple sample project.



2) I can't get any messages to show up in the system log. I've tried syslog and asl_log_message at variously increasingly critical log levels, and none of the messages show up in Console despite knowing that these functions are getting called.



Between the two of these problems, I can't even begin to debug anything. Suggestions?



--
Seth Willits




 _______________________________________________
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

  • Follow-Ups:
    • Re: Debugging / Logging from AudioServerPlugIn
      • From: Raveeshwara S <email@hidden>
  • Next by Date: Re: Debugging / Logging from AudioServerPlugIn
  • Next by thread: Re: Debugging / Logging from AudioServerPlugIn
  • Index(es):
    • Date
    • Thread