I want to use Xcodes capabilities to log certain data. In fact it should be quite simple to achive something similar to
NSLog(@"Size: %@", NSStringFromRect(self.view.frame));
with the Log Message
action of a breakpoint. I tried variations of this:
Size: @NSStringFromRect([[self view] frame])@
but failed.
I already searched the Xcode documentation and was surprised how bad that feature is documented. The only bit of information I was able to find was about how configuring at sound playing action when hitting breakpoints.
NSLog
statements. It also has the advantage of organizing your log statements via the breakpoint view in Xcode (you can share these breakpoints to separate the breakpoints from »real« ones). – Ibarra