I like the convenience of skipping explicit declaration of ivars, and just using @property/@synthesize.
But ivars done this way don't show up in the Debug Area variables list in XCode 4 (at least with gdb/iOS; don't know about lldb).
Is there any way of forcing them to do so?
Notes:
- I know开发者_如何学运维 I can get the ivar values using gdb commands in the console, or breakpoint actions
- There are a couple of similar questions here (eg. xcode 3.2.2 and objective-c 2.0 and debug: where are my object's property/instance variable values in debug?) but I am specifically looking for an XCode 4 workaround.
We are all in the same boat, unfortunately. Maybe LLDB will fix this to some degree, although we are waiting for Apple to add it back in as an option. This is probably my biggest gripe with Xcode.
精彩评论