android_mt6572_jiabo/external/lldb/test/lang/objc/real-definition/Foo.m
2025-09-05 16:56:03 +08:00

25 lines
373 B
Objective-C

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