Thread 1: Stopped at breakpoint 1

2020-02-26 10:37发布

问题:

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.