iOS: Debugging not working in XCode

前端 未结 3 782
礼貌的吻别
礼貌的吻别 2020-12-20 16:28

I\'m using XCode 4 and iOS SDK 4.3. My debugging worked fine but now i discovered that when setting a breakpoint, the app pauses but XCode doesn\'t

3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-20 17:02

    In xCode4:

    • Your Project Name -> Edit Scheme
    • Info tab (in run configuration)
    • Set Build Configuration to "Debug", Debugger - to "LLDB" ("GDB" was before)
    • Run your project

    Worked for me. For "LLDB" green line is visible. Switching back to "GDB" brings me to this issue again.

提交回复
热议问题