Alex Rivera | Logout

Xcode evaluating expressions while debugging

Asked 2011-01-28T06:24:57.737
79

I am working on an iPhone app. I am a full-time Java developer and I am used to using Eclipse where I can put a breakpoint in and stop the process. Then, I can type in any expression that I want and Eclipse will evaluate it using the values from that point in the process.

Is there a way to do that in Xcode? I want to be able to stop at a breakpoint and then enter some code to evaluate it. The gdb console will let me do po (print-object), but it is really limited. Any help?

Edit
Report

1 Answer

8

Not answering question about Xcode, but JetBrains' AppCode does this in the standard IDE way most of us know from other platforms.

answered 2013-01-30T12:33:03.433

Your Answer