开发者

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.

No symbol in debugger, xCode 4


Can't say that I know for sure, but here are a few things to try...

  1. Try "po [dict description]"
  2. Try cleaning before you compile in case old symbols file stuck around for some reason
  3. Are you attaching the debugger after launch? I've had problems with this.
  4. Is this breakpoint firing during the launch? Also had problems with this.
  5. Can you print anything else?
  6. Try inserting an "NSLog(@"%@", [dict description])" in there.
  7. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜