I'm using Xcode 3.2.3 and iPhone SDK
So I'm trying to debug a UIView subclass, I hit a breakpoint in an overridden method and I can't see any symbols in either the GUI or gdb, just globals and registers.
This is what I see:
(gdb) po self
No symbol "self" in current context.
Yet when I set a breakpoint in a UIViewController subclass, all the symbols are there:
(gdb) po self
<MyViewController: 0x5c18ae0>
Current language: auto; currently objective-c
Some things I've tried:
- clean all/rebuild
- restart Xcode
- change between debug and release
- config these options in Project
settings:
- GCC_DEBUGGING_SYMBOLS = All
- Symbols DEBUG_INFORMATION_FORMAT = DWARF, DWARF w/ dSYM File
- BUILD_VARIANTS = normal, debug
- threatening Xcode by swearing at it and typing
rm -rf /Developer
into a root bash prompt
Please help, my fingers are bleeding from debugging with NSLog