Can we execute methods / code in XCode just like in Visual Studio?

Posted by balexandre on Stack Overflow See other posts from Stack Overflow or by balexandre
Published on 2010-05-02T15:19:53Z Indexed on 2010/05/02 15:28 UTC
Read the original article Hit count: 134

Filed under:
|

Visual Studio is one of the best developer IDE of all times, and now was improved with multithreading debugging and much more.

My question is regarding XCode and the ability to execute code just like we do in Visual Studio.

Let's assume an object in a view and I want to run, let's say:

[pickerView setHidden:YES];

in a breakpoint just to see if in that break point I could actually hide the object.

I can't find any place for this in the XCode Debugger

alt text

Am I missing something or I can't execute code that is not in the files already? like in Visual Studio Watch List or Immediate Window

© Stack Overflow or respective owner

Related posts about xcode

Related posts about debugging