New to XCode, is there a VisualStudio style immediate window?
New to XCode, is there a VisualStudio style immediate window?
i.e when I've stopped on a breakpoint in debug mode, A place where i could type variable name and it gives me the value, for e.g.
? Person.Name
"Smith"
I have noticed you can hover over objects but I still cant see the values in NSString and NSDate objects I can only see loads of crap about unicode etc!
New to XCode, is there a VisualStudio style immediate window?
i.e when I've stopped on a breakpoint in debug mode, A place where i could type variable name and it gives me the value, for e.g.
? Person.Name
"Smith"
I have noticed you can hover over objects but I still cant see the values in NSString and NSDate objects I can only see loads of crap about unicode etc!
Hope someone can help.
Thanks in advance :-)
so far i'm missing this too. I ddn't find anything similar
waiting for help
__________________
My Apps:
--------------------------------------------------------------
On iTunes:
-iSuperBall!!: winning numbers for SuperBall and MegaMillion
-iNewYear
-EasterDay
-iAmore
-6Vincenti: Italian SuperEnalotto lottery
-iWinForLife: Italian Win for Life lottery
-myPicNotes
New to XCode, is there a VisualStudio style immediate window?
i.e when I've stopped on a breakpoint in debug mode, A place where i could type variable name and it gives me the value, for e.g.
? Person.Name
"Smith"
I have noticed you can hover over objects but I still cant see the values in NSString and NSDate objects I can only see loads of crap about unicode etc!
Hope someone can help.
Thanks in advance :-)
In the debugger window you can type in any valid code.
To print out a variable type
po varName
It works for most things
I don't think there a a gui, but make yourself familiar with gdb! Thats the beast you need to learn how to tame! Once you got that, you'll know what to do!
I don't think there a a gui, but make yourself familiar with gdb! Thats the beast you need to learn how to tame! Once you got that, you'll know what to do!
Yeah will start looking into that.
nice tag man
Sasriakal!
New to XCode, is there a VisualStudio style immediate window?
i.e when I've stopped on a breakpoint in debug mode, A place where i could type variable name and it gives me the value, for e.g.
? Person.Name
"Smith"
I have noticed you can hover over objects but I still cant see the values in NSString and NSDate objects I can only see loads of crap about unicode etc!
Hope someone can help.
Thanks in advance :-)
When running your code, stop at a breakpoint and go to Run->Show->Expressions...
You can use Run->Debugger to see the local variables or jump out or deep into your code. Wherever you are you can see the local variables and use Expressions to variable values.
Both are very useful tools and provide you with more confidence in your code.