• 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 an AudioServer plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging an AudioServer plugin


  • Subject: Re: Debugging an AudioServer plugin
  • From: Jeff Moore <email@hidden>
  • Date: Thu, 07 Mar 2013 10:41:38 -0800

The right way to debug coreaudiod at startup is:

0) Unload coreaudiod
   % sudo launchctl unload /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist

1) Start lldb/gdb up such that they await the launch of coreaudiod (note that you need to be root to debug coreaudiod):
   % sudo lldb --wait-for coreaudiod

2) Start coreaudiod again:
   % sudo launchctl load /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist

--

Jeff Moore
Core Audio
Apple



On Mar 7, 2013, at 9:14 AM, Eric Gorouben <email@hidden> wrote:

> I'm trying to debug my AudioServer plugin with xcode 4.6 and Mac OS 10.8.2.
> Therefore, I want to attach the debugger to coreaudiod and restart it. But it doesn't work.
> What is he proper recipe for this?


 _______________________________________________
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 an AudioServer plugin
      • From: Eric Gorouben <email@hidden>
    • Re: Debugging an AudioServer plugin
      • From: Kyle Sluder <email@hidden>
    • Re: Debugging an AudioServer plugin
      • From: Eric Gorouben <email@hidden>
References: 
 >Debugging an AudioServer plugin (From: Eric Gorouben <email@hidden>)

  • Prev by Date: Debugging an AudioServer plugin
  • Next by Date: Re: Where should CAStreamBasicDescription be instantiated?
  • Previous by thread: Debugging an AudioServer plugin
  • Next by thread: Re: Debugging an AudioServer plugin
  • Index(es):
    • Date
    • Thread