Xcode4 : Why my breakpoints are not working in Xcode4?

狂风中的少年 提交于 2019-12-25 01:45:35

问题


I am unable to debug my project as the breakpoints are not working.

I have enabled breakpoint option but still its not helping me.

I found some links but they are for the Xcode3

And for Xcode4 I found this site but it doesn't have any solution.

What should I do ?


回答1:


  1. Open Scheme drop box
  2. Click on Edit Scheme

  1. Click on Run YOURAPP.app tab on the left

    • Set Build Configuration to DEBUG
    • Set Debugger to LLDB
  2. Enable breakpoints and Run the app




回答2:


Ran face first into this problem after updating to iOS SDK 6.1. After a few hours of swearing and digging through settings, it seems to only happen when using LLDB. Switching to GDB has bestowed upon me the ability to use breakpoints again. FWIW I've had other issues with LLDB not correctly following vtable pointers. Good luck.




回答3:


Try rebooting your device. I had the same problem with Xcode4; although, I seem to remember it working before upgrading my phone to 6.1. Anyhow, the suggestion here to reboot my device solved the problem. Breakpoints are again working for me.



来源:https://stackoverflow.com/questions/7171959/xcode4-why-my-breakpoints-are-not-working-in-xcode4

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