You might find it necessary to set a breakpoint for a Foundation or Application Kit method. This is done by specifying the method name.
In Xcode create a new breakpoint. Type the full method name into the breakpoint like:
- [NSException raise] |
or:
+ [NSObject allocWithZone:] |
If you are using gdb from a Terminal, you can also set a breakpoint
using the command line. In this case, you can simply type the method
name, such as raise or allocWithZone:. If
more than one class implements the method, gdb will ask you to disambiguate.
Last updated: 2002-11-12