开发者

Xcode 4 debugger breaks in wrong file

I have been searching for this problem for months in Google & Bing. Here's the thing:

  1. I set a breakpoint in my .m file somewhere.
  2. I run it.
  3. The debugger just stops in a weird file like below:

    0x00003204  <+0068>  ldr.w  r1, [pc, #1000] ; 0x35f0 <-[WhatNotesAppDelegate application:didFinishLaunchingWithOptions:]+1072>
    0x00003208  <+0072>  add    r1, pc
    0x0000320a  <+0074>  ldr    r1, [r1, #0]
    0x0000320c  <+0076>  blx    0x34f44 <dyld_stub_objc_msgSend>
    0x00003210  <+0080>  str    r0, [sp, #152]
    0x00003212  <+0082>  ldr.w  r0开发者_开发技巧, [pc, #984]  ; 0x35ec <-[WhatNotesAppDelegate application:didFinishLaunchingWithOptions:]+1068>
    0x00003216  <+0086>  add    r0, pc
    0x00003218  <+0088>  ldr    r0, [r0, #0]
    0x0000321a  <+0090>  ldr.w  r1, [pc, #972]  ; 0x35e8 <-[WhatNotesAppDelegate application:didFinishLaunchingWithOptions:]+1064>
    0x0000321e  <+0094>  add    r1, pc
    

I have tried clean, reinstall Xcode, and today, update to 4.2GM, but it still bothers me.

Can anyone help?


The debugger has been thrown off for me when the same method is being called on multiple treads. I am also running xcode 4.2. If you can post you code and possible callers that could help get to the bottom of the problem. I also see assembly code when I step past the end of my code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜