EXC_BAD_ACCESS (code=1, address=0x0) when stepping in debugger

后端 未结 3 846
灰色年华
灰色年华 2020-12-24 11:40

My application crashes each and every time I try to step over a call. Without debugger it works fine.

Also, when I run the app in simulator it woks fine with or wit

相关标签:
3条回答
  • 2020-12-24 12:21

    Please login developer site and download the Xcode 5.0.2 GM seed, it fixed this bug.
    See the release notes.

    Update 12-Nov-2013
    Xcode 5.0.2 has released, you can download it from Dev Center

    0 讨论(0)
  • 2020-12-24 12:32

    Ok, this is definitely a bug in Xcode 5.0.1.

    This is confirmed by Jason Molenda on Apple Developer Forum. The only workaround for now is to use older version of Xcode and the older version of Mac OS X because Xcode 5 requires OS X 10.8.4.

    There is no announced ETA for a fix for this issue. Direct question about ETA on Apple Developer Forum is left without answer.

    UPDATE 06-Nov-2013:

    Today a pre-release version of Xcode 5.0.2 became available on developer.apple.com. This version fixes (among other things) the following issue:

    Debugging an application on a device running iOS 6.x causes the application to crash with EXC_BAD_ACCESS.  This has been resolved. (15310896)

    I have installed the new version and the issue is indeed gone. Now I am able to debug apps on my 6.x devices again.

    Jason Molenda in thread on Apple Developer Forum said:

    I'm told you can submit apps to the app store with this Xcode 5.0.2 seed.

    0 讨论(0)
  • 2020-12-24 12:42

    I confirm I have exactly same bug. My App worked fine. After upgrade to Xcode 5 and Mavericks code work but when I debug I can't Step Over certain lines as I get EXC_BAD_ACCESS.

    So I have to remember lines that I can't pass with Step Over and put break point after these lines or use Continue to Line to jump over these problematic lines.

    PS

    Downloaded Xcode 5.0.2 GM seed and debugging is much better. I spent 30 minutes with new Xcode so far.

    0 讨论(0)
提交回复
热议问题