No symbol in debugger, xCode 4
Hi I'am running a debug build with NO optimizations and "DWARF with dSYM file" as debugging format. Why can't I print my dictionary to console? Have I missed something? xCode version is 4.0.2 and Iam us开发者_JAVA百科ing LLVM 2.9 svn version with GDB debugger.
Can't say that I know for sure, but here are a few things to try...
- Try "po [dict description]"
- Try cleaning before you compile in case old symbols file stuck around for some reason
- Are you attaching the debugger after launch? I've had problems with this.
- Is this breakpoint firing during the launch? Also had problems with this.
- Can you print anything else?
- Try inserting an "NSLog(@"%@", [dict description])" in there.
- Is your SessionManager for certain returning something that is both a) not nil and b) responds to the selector "description:"? If not you may get nothing.
Looking at your log, my first guess is that you're breaking before the debugger has had a chance to attach properly. Totally a guess, but try the NSLog thing and see if you get output.
精彩评论