Lots of users use "po" as their default print command. If the type doesn't implement the description function the output is often not what the user wants. Print a hint telling the user that they might prefer using "p" instead. Differential Revision: https://reviews.llvm.org/D153489
23 lines
254 B
Objective-C
23 lines
254 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
@interface Foo : NSObject {}
|
|
|
|
-(id) init;
|
|
|
|
@end
|
|
|
|
@implementation Foo
|
|
|
|
-(id) init
|
|
{
|
|
return self = [super init];
|
|
}
|
|
@end
|
|
|
|
int main()
|
|
{
|
|
Foo *foo = [Foo new];
|
|
NSLog(@"a"); // Set breakpoint here.
|
|
return 0;
|
|
}
|