Problem description
After the program is compiled successfully, it will exit immediately and show thread1: breakpoint 3.1
Problem solving
Breakpoint
breakpoint?Where are breakpoints used?How to set and cancel breakpoints
Online search, found that someone on CocoaChina encountered the same problem, the original is careless use of the breakpoint, the breakpoint can be canceled
Breakpoint, one of the functions of debugger, can make the program break where it needs to, so as to facilitate its analysis. You can also set a breakpoint in one debugging. Next time, just let the program automatically run to the breakpoint setting position, you can interrupt at the last breakpoint setting position, which greatly facilitates the operation and saves time
Novice Xcode run program immediately after the exit, thread1: breakpoint 2.1
Chenye277:
technical questions sent to Q & A: I know, I still have to publish questions in the forum
why does it quit when I run it, and the simulator is always black, when I press stop, the simulator can run like a mobile phone
when I want to watch the real-time data of slider, it can’t watch it
a breakpoint was found on the console. What do you mean?How to solve itSandpiper:
go back to chenye277’s post
this is the breakpoint when your program is running
just remove the breakpoint
Link:
http://www.cocoachina.com/bbs/read.php?tid=195481
http://baike.baidu.com/subview/278359/5135004.htm#viewPageContent
Similar Posts:
- Eclipse Unable to install breakpoint in XXX [How to Solve]
- This application failed to start because no Qt platform plugin could be initialized
- Pychar report Python package tools not found error
- INSTALL FAILED U NO MATCHING ABIS
- [Solved] Another app is currently holding the yum lock; waiting for it to exit…
- malloc: *** error for object pointer being freed [How to Solve]
- IOS upgrade to xcode13 simulator running error
- Lock wait timeout exceeded; try restarting transaction-Mysql [How to Solve]
- This application is modifying the autolayout engine from a background thread, which can lead to engi
- Solve the problem of “input personalized service” InputPersonalization.exe High CPU consumption