Rather than littering my code with NSLog calls, I see an opportunity to create a breakpoint, uncheck the "suspend" option, and enter the expression that I would like logged. This would allow me to dynamically choose what to log without having to recompile my application. However, I don't see how to use it, because I am unable to output strings. Specifically, I would like to know the contents of a CGRect, but I am not having much luck with logging anything at all.
I have tried the following:
Input: @"Test String"
Output: use of undeclared identifier 'Aaaaa'
Input: [self.textArea frame]
Input: (CGRect)[self.textArea frame]
Input: [self.textArea description]
The only one that works is this:
I feel that this feature could certainly do with some examples as part of the user interface. Or perhaps I am totally misunderstanding the purpose of this feature?