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
Xcode 4.6 Strange issues with Debugger."po" command does not work
I am having the same issues. PO and P just takes longer (5 seconds+ sometime). –
Snack
Related: #14760706 –
Fenland
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
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 #14760706 –
Handshaker
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.
© 2022 - 2024 — McMap. All rights reserved.