Friday, 6 September 2013

Debug Breakpoints - Display variable values in Log Message

Debug Breakpoints - Display variable values in Log Message

When I use the Log Message as Action in a Breakpoint is it still possible
to print current variable values to the log output ?
When using a NSLog inline something like this is possible ...
NSlog(@"<DeleteArea> <State> CallToggle %i",[[deleteCardState userInfo]
intValue]);
however in a breakpoint as Log Message using e.g. ...
@"<DeleteArea> <State> CallToggle %i",[[deleteCardState userInfo] intValue]
does not work.
How do you output formatted variables in breakpoints?

No comments:

Post a Comment