Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mac audio stops when stopping at breakpoint in xcode

I've encountered this issue a while back, but it kinda fixed itself without me even noticing when it stopped. Today I realized that while listening to youtube, when entering a breakpoint in Xcode, or simply just pausing the app by tapping the pause button in Xcode, the sound stops, while the video continues. If I pause the video and then click play while in the breakpoint, it does nothing besides changing the Play Button and stays like that until I continue running the app normally. Has anyone encountered such a problem, and is it something you could fix?

* I have not tried restarting yet, since I have quite a number of apps open and in use.

like image 381
Raica Dumitru Cristian Avatar asked Feb 16 '16 15:02

Raica Dumitru Cristian


People also ask

Why breakpoints are not working in Xcode?

You might be pushing "Run" instead of "Debug" in which case your program is not running with the help of gdb, in which case you cannot expect breakpoints to work! In Xcode 6.4, there is now only a Run button and whether it runs a debug configuration or not depends on the currently selected scheme settings.

What does breakpoint mean in Xcode?

Navigate to a line in your code where you want execution to pause, then click the gutter or line number in the source editor to set a breakpoint. Xcode displays a breakpoint icon to indicate the location. Drag a breakpoint up or down to move it to another location; drag it away from the gutter to remove it.

How do I pause Xcode?

Here's how to pause running programs: Just open any file in which we want to put breakpoint and click on the line on gutter at left side where we want to pause execution.


1 Answers

Looks like it would be a bug in Xcode that's stopping some obscure background thread for some reason.

like image 51
donkey Avatar answered Sep 20 '22 09:09

donkey