Breakpoint stop and shows wrong window in Xcode 8 - ios

I've added breakpoint in ViewDidLoad but when code execute and stop on breakpoint then it shows wrong window (Thread Window) instead of in Code.
showing thread window
I've Xcode 8.3.3 and I think this may be some issue in setting or may be something else, kindly guide me where i did wrong ?
Looking for help. Thanks

After hit and try I finally found solution, I did wrong and mistakenly check Allow Show Disassembly.
Allow Show Disassembly should be unchecked.
Hope this will help others too.

Related

Application flashes and crash immediately after opening in latest ios

This is very wired, after new ios release my app is crashing immediately after opening. No crash log no clues, nothing.
If anyone know about this issue and fixed before, please help.
Any help will be appreciated.
Thanks
Check your View connection, if you work on storyboard then check Option like:-- View Controller option n select "IS INITIAL VIEW CONTROLLER" option n check once

How do I debug my iOS app with Swift

I started building my first iOS app and I am trying to debug it. I set a break point on my viewDidLoad() function (line 14) like so:
When I run the app and the get the ViewController to load, my debugger view opens in xcode but I am getting this (what looks like assembly code) view.
I can't seem to figure out how to view the debugger in my Swift code and be able to step through it in Swift. Does anyone know how to accomplish this? Thanks!
I found the issue.
Debug > Debug Workflow > "Always Show Disassembly" was checked off. Unchecking this now shows my source code when debugging.
You should set the breakpoint on a line of code inside the method and not the call to the super class.
Then you'll be able to analyze variables at the breakpoint.

How to fix breakpoint showing up on memory state issue?

My break points are showing up over the memory state but I want to see them within code so that I can perform debugging. See the attached image and let me know how it can be fixed?
Figured Out:
See the attached image and un-check the "Show Disassembly while Debugging"

How do I delete a breakpoint marker in xcode?

So my app is 100% done, however when I compile it in xcode the app loads up normal, but when I press the button, which is the apps main function, it encounters a thread breakpoint error and I'm not sure why.
When I run the app by itself in the simulator without xcode it runs perfect, the thread error only happens when I run it in xcode.
Thanks again for any help that can be provided!
Click on that dark blue arrow next to the "Play Sound" comment, and it will turn light blue (disabled). Or right click (or option-click) on the blue arrow and you have an option to remove the breakpoint.
Or select the breakpoint navigator ("View" - "Navigators" - "Show Breakpoint Navigator") and manage your breakpoints there.
See WWDC 2012 video Debugging in Xcode.
Your app stops when running in the debugger because you have set a breakpoint at that line. Delete or disable the breakpoint. There is nothing wrong here and there is no error. The debugger is doing exactly what you told it to do.
In XCode 9 the easiest way to delete breakpoint is to just left-click and drag it.

App pausing but not getting an error after running a clean

I have no idea what is after going wrong but I'll state the events that happened before the error occurred
1: App was running fine as I was adding functionality.
2: I noticed that one of the view controllers was not showing the correct version but an older one. (I had added in a segmented control and it wasn't showing up)
3: I tried to uninstall the from my phone and build it again but it was still showing the old controller
4: I tried cleaning the project to recompile everything, after this step the application started to give me this problem
http://i.imgur.com/105yDr8.png
Some extra information:
1: This error occurs on the black screen before any view controllers load
2: The view controller I was working on was not the first view controller (so I do not think that it is the problem)
3: The main view controller has not been changed in days and was working perfectly since it was finished
I have absolutely no idea what is going wrong, and help would be greatly appreciated
UPDATE 1
New error message
http://i.imgur.com/5XVJWHT.png
UPDATE 2
Screenshot of storyboard and a finder window that opened when I clicked "show in finder on the storyboard". This would lead me to believe that it does know where the file is
http://i.imgur.com/Ybas1Yx.png
You've (probably accidentally) set a breakpoint at the return UIApp...-line.
You can identify a breakpoint by it's blue color at the left of a line. If it's activated, it's dark blue, else it's light blue. You can just drag it either to the trash can or somewhere else in your window to completely delete the breakpoint.
your app is getting crashed due to exception check the pannel objc_exception_throw
add exception breakpoint and you'll get the line of code where your app is crashing
It sounds like something is broken, and throws an exception. You're just seeing the exception being caught.
The way to investigate what is throwing is to add an exception breakpoint. Go to the breakpoints list and hit +, choose exception breakpoint and leave it at all. This should give you a breakpoing at the point where the except is being thrown.
As to what is happening. You had an app that ran with an old VC, you deleted the app and re-installed and now it crashes, so best guess is that your old version had the VC, but new one doesn't. Sounds like a missing xib or storyboard. It clearly isn't missing from the project, as you'd see that immediately, but check for target membership, changed name or localization problems.
I fixed the problem by renaming the storyboard to MainStoryboard1 and changing the target in
project > target > summary > iphone/ipod deployment

Resources