Watch NSString length in debugger
debugging, objective-c, xcode
Solution
You can use the debugger console to evaluate a property of an object in Xcode, the debugger output view actually functions as an input, too.
Obviously first you have to Hit a breakpoint ...
It actually works with GDB and LLDB and you have to type in the output console :
print (int)[myText length]
Problem
I have an NSString variable called `myText`. How to watch `[myText length]` in xcode debugger?