This is printTest.m in view mode; [Download] [Up]
#import <objc/Object.h> @interface Foo : Object @end @implementation Foo - (void)printForDebugger: (NXStream *)stream { *(char *)0x0 = 0; } @end void main() { int i, j = 0; Foo *foo = [Foo new]; for (i = 0; i < 10; i++) j++; }
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.