Xcode 4.6 Strange issues with Debugger."po" command does not work
Asked Answered
H

2

7

I just recently upgraded to xcode 4.6 and strange things are happening to the debugger. "po" command ceases to work some times. Also step by step debugging sometimes does not work. Is anybody else having the same issues

Handshaker answered 11/2, 2013 at 18:56 Comment(2)
I am having the same issues. PO and P just takes longer (5 seconds+ sometime).Snack
Related: #14760706Fenland
H
3

I have found the issue with this. I checked the Optimization Level for your Apple LLVM Compiler code compilation in target settings, changed it to None and now the debugging works as it should

Handshaker answered 22/2, 2013 at 16:25 Comment(2)
PS: if you have compiler optimization turned on, step by step debugging works but based on the optimized code of the compiler which is likely not in the same sequence as your code. And that is why it is off by default on debugging and on for release. On the other hand, I am curious to see if you still encounter the po problem. I have that po problem even with no compiler optimization.Snack
Upgrading to 4.6.2 seems to have fixed the problem #14760706Handshaker
E
0

Just try to clean up everything from Project menu, delete derived data folder from organizer. Exit and restart XCode. It may clean up some garbage memory and set things up. I have experienced that it improves po a bit.

Exasperation answered 11/2, 2013 at 19:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.