Files
clang-p2996/lldb/test/API/lang/objc/real-definition/Foo.m
2021-11-18 14:00:53 -08:00

27 lines
397 B
Objective-C

#import "Foo.h"
@implementation Foo
- (id)init
{
self = [super init];
if (self) {
_bar = [[Bar alloc] init];
}
NSLog(@"waiting");; // Set breakpoint where Bar is an interface
return self;
}
- (void)dealloc
{
[_bar release];
[super dealloc];
}
- (NSString *)description
{
return [NSString stringWithFormat:@"%p: @Foo { _bar = %@ }", self, _bar];
}
@end