bolt/deps/llvm-18.1.8/lldb/test/API/lang/objc/real-definition/Foo.m
2025-02-14 19:21:04 +01:00

26 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