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.
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.
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.
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.
Looks like it would be a bug in Xcode that's stopping some obscure background thread for some reason.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With