Thread 1: Stopped at breakpoint 1

喜夏-厌秋 提交于 2019-11-29 14:48:28

问题


I have a problem with XCode 4.3.2, and I cannot figure out what it is. I have set a breakpoint, but instead that XCode stops at the line the breakpoint is set, it shows me the thread log. I am going crazy here.

So, this is the page I see in XCode when it comes to my breakpoint. It does this is several projects and tried it both with and without zombie enabled.


回答1:


I searched google for resetting XCode, and it seems that this post helped me out:

http://www.developers-life.com/uninstallresetting-xcode.html

However, I did this in the terminal (after I closed XCode):

defaults delete com.apple.dt.Xcode.LSSharedFileList
defaults delete com.apple.dt.Xcode

I restarted XCode, agreed to the terms and tried breakpoints again... and so far so good! :)




回答2:


Close Xcode then do following things in terminal.

defaults delete com.apple.dt.Xcode.LSSharedFileList

defaults delete com.apple.dt.Xcode

Then restart Xcode.



来源:https://stackoverflow.com/questions/10323481/thread-1-stopped-at-breakpoint-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!