Xcode 7.3 breakpoints not working when a UIWebview is displayed - ios

I have been having problems with debugging and breakpoints for my iOS application ever since I upgraded to Xcode 7.3.
The issue comes up specifically when a UIWebview is displayed in my app. If I add a breakpoint and that piece of code is executed, Xcode basically locks up and doesn't let me stop debugging or anything. I end up having to force quit.
Has anyone else experienced this and/or have any ideas on how to fix it?

This is a well known issue with Cordova based hybrid apps on Xcode, every time I get this issue I clean the whole project and run it again everything is back to normal. Try resetting the simulator too if issue still not fixed.

Related

Xcode Memory Graph Debugging Icon not showing

I've recently started working on an existing objc project and wanted to check the memory graph debugging tool. As I started a debugger with the app I realised it doesn't show in the debugging tools.
I tried it with another project (created a new swift project) and the icon suddenly did show again. But only for this project.
So my question now is if there're any settings in a particular project that can prevent the memory graph debugging tool from showing?
Any hints are appreciated.
I tried a lot of different simulators (iOS 9/10/11). I event tried rebooting my macbook because I read somewhere this could help ;-)
I'm using an objc only project with Xcode 9.1 or Xcode 9.2 beta 2.
This is my diagnostics selection in the scheme if that's related:
Step 1: shut down and restart your iPhone.
Step 2: quit and reopen Xcode.
This should make the button reappear.
For some reason, the button is not there when I test on the device, but it's there when I test on the simulator.
Hi I was having the same issue. It's actually hidden here:
It appears that the memory debugger will only work for newer devices. It definitely does appear on the iPhone 8 running iOS 11. On some of my older devices it does not appear. I'm not sure at this time what the cutoff is.

XCode 6.4 debugging not working unless manually attach to iOS Simulator

I'm trying to debug an iOS project in XCode 6.4. Recently, none of the breakpoints are working (they did before), while I'm running the iOS Simulator. The debugging area only starts if I manually attach it to the process. I've looked through the project build scheme and settings, and there's nothing to suggest that I've turned off or changed the debugger in any way.
The problem only occurs with this specific project in XCode. I even reinstalled XCode to no avail, so I assume the problem must be specific to this project/workspace.
Any ideas why the debugging is not automatically attaching to the process? Or a workaround?
Thanks!

Why is newsstand my only app in IOS simulator?

At one point I had to do a timemachine recovery of everything on my iMac. Ever since then, when I open my IOS simulator, the only app it shows is Newsstand. I have upgraded to the most recent versions of xcode (4.3.3 (4E3002)) and ios simulator (5.1 (272.21)) and still see the issue. I have also tried removing ~/Library/Application\ Support\iPhone Simulator\ and that makes no difference. Has anyone ever seen this problem? What can I do to get other apps back? I really need to be able to use mobile Safari for some testing.
This happened to me before. I solved the issue by uninstalling xcode and the simulator file, which looks like the same path as yours. I then re-started my computer and re-downloaded xcode and it worked fine...
Good luck.
Just logging out and then logging back in addressed the problem for me.

Got stuck when deploy app on iphone

I got stuck when I try to deploy the test app on my device.
When I click run on XCode, the device is going to run the application. However, it stuck in the first view. And nothing is moving.
I was wondering if there is something wrong. Is it caused by jailbreak? My ios version is 5.0.1.
Then someone tell me what I could do to solve it.
There are some strange launch issues when debugging with LLDB.
Try using GDB instead
(EDIT) Latest Xcode 4.3 update with LLDB-112 should fix a lot of problems (but there are still bugs including reading of ivars)

Developing iOS/Xcode/PhoneGap app; randomly receive SIGABRT

I was developing an app in Xcode and everything was working just fine. I went to shut off my network on my Mac to try and simulate 'No Network' so I could test a setting I had just set using the Phonegap.js.
I suddenly got a SIGABRT notice and can no longer run the app on my iOS simulator. It builds just fine. This has happened to me before under different circumstances.
I have found that all I have to do is paste the same code into a new project and all is well. So it appears to not be a code issue.
I've researched it and found that many people around the web are reporting it but I could not find where anyone successfully fixed it.
That is why I was hoping that someone on StackOverflow might have seen this before and know how to fix it.
I did come across a suggestion to remove a line our of your plist info file but that was for an iPad target and I am targetting the iPhone (but I still tried it and it didn't work either way).
XCODE 4.2, PhoneGap 1.3.0, iPhone 5.0
I am about 99% convinced that it has to do with a bug in XCode and ARC.

Resources