Various helpful utilities for debugging.
MODumpKeyLoops |
MOKIT_EXTERN void MODumpKeyLoops( );
Logs the key loops of the key and main windows, starting from their initialFirstResponders.
MODumpResponderChain |
MOKIT_EXTERN void MODumpResponderChain( );
Logs the responder chains of the key and main windows, starting from their firstResponders.
MOLog |
MOKIT_EXTERN void MOLog( NSString *formatString, ...);
Often when doing debug output, the extra prefix info that NSLog includes out just clutters the output and makes it harder to read and harder to format reasonably. On the other hand, printf does not support the %
- formatString
- The format string for the log output.
- ...
- additional arguments that supply values required by the escape sequences in formatString.
(Last Updated 3/20/2005)