„Powrót” z metody podczas przechodzenia?
Chciałbym wyjść z obecnej metody, przez którą przechodzę.
-(void)helloWorld {
NSLog(@"Hello");
// I would like to return here, so that "World" isn't printed.
NSLog(@"World");
}
Próbowałem tego, ale bez szczęścia.
(lldb) expr return
<no result>
Czy to możliwe dzięki lldb?