To call an Objective-C method in the gdb console, you have to cast the return type (since gdb doesn't really know what the return value is): (gdb) call (void)[textField setStringValue: @"Bork"]
(gdb) call (void)[textField setStringValue: @"Bork"]