Xcode debugger messes with sound

When I listen to the music with AirPods (1, Pro) , and start application via Xcode with debugger attached, there are some noise in my headphones, it's 100% Xcode debugger bug, cause when I detach it from running application noise instantly disappears.

Noise doesn't seem to be the case with wired headphones or build in speakers.

But there is another problem, that reproduces with all sound outputs, when I use debugger features, such as step forward/in/out or creating new breakpoint for running application, sound stops for like half a second and then starts playing again.

So I assume that Xcode messes not only with sound itself, but with Bluetooth connection as well

Posted on Mar 18, 2022 5:36 AM

Reply

Similar questions

3 replies

Mar 18, 2022 7:46 AM in response to Keith Barkley

Forgot to mention that during debugging it messes with sound of all applications(Apple Music, Google Chrome, Telegram etc), it would be absolutely fine if the problem was only with the application I debugging , I face this problem only on mac os, and only with Xcode, so I assume this is not expected behaviour


There was similar closed discussion, which unfortunately has no solution

XCode causes weird sound glitches - Apple Community


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Xcode debugger messes with sound

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.