From 3d0db17f79102e308d3b9ba575b5534ea80b1e20 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 3 Aug 2007 16:49:06 -0700 Subject: [PATCH] Implementing the "Step In" command * Source/DebuggerWindowController.m|h: ([DebuggerWindowController stepIn:]): New method to forward user action to the DebuggerConnection * Source/DebuggerConnection.m|h: ([DebuggerConnection stepIn]): New method to tell the debugger to step in * English.lproj/Debugger.nib: Hooking up the "step into" button --- English.lproj/Debugger.nib/classes.nib | 2 +- English.lproj/Debugger.nib/keyedobjects.nib | Bin 11889 -> 11965 bytes Source/DebuggerConnection.h | 1 + Source/DebuggerConnection.m | 11 +++++++++++ Source/DebuggerWindowController.h | 1 + Source/DebuggerWindowController.m | 8 ++++++++ 6 files changed, 22 insertions(+), 1 deletion(-) diff --git a/English.lproj/Debugger.nib/classes.nib b/English.lproj/Debugger.nib/classes.nib index f300005..8ece6c3 100644 --- a/English.lproj/Debugger.nib/classes.nib +++ b/English.lproj/Debugger.nib/classes.nib @@ -1,7 +1,7 @@ { IBClasses = ( { - ACTIONS = {run = id; }; + ACTIONS = {run = id; stepIn = id; }; CLASS = DebuggerWindowController; LANGUAGE = ObjC; OUTLETS = {"_error" = NSTextField; "_status" = NSTextField; }; diff --git a/English.lproj/Debugger.nib/keyedobjects.nib b/English.lproj/Debugger.nib/keyedobjects.nib index 09c0fd9b3e6be2bfd4f7aa70d93d0349ed9cc28c..ae4517560d598964227a94c7e1ce3e4ad16e61d6 100644 GIT binary patch delta 3635 zcmZux33wDm8ts{`neOT7>FJ(6r@N=`fdIRZU_eee0%8mSB@hn7O^_oJauLFj>9}Id z;sFMaRS^V&KnM|tfEdi6>$;w? zW$2voF8}HYvt6;(@E7n#_)B;Pyc6CB?}uyQ!|+k~Bzy|K2HyZapn)erJJ&kr9R}Ki z4xoe6cLbf>yP=z)Gk6Mg0bM~i&>bX!9-tR^7QE={3tj=Uz^kAXyavj^U%_nfI(P%T z3El#8z+CV)D2MuhdEg!JE_e^Tk3;9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%ZzBn2W#IblN9*#%i zbX0Oy3oGG#xDYOe%iu~_1y{qh@FTbZZh~9jHn;=sguCD#xDOtH yhu{%-6ds2s;OFoQ_zgS{zk`?I6?hHagty?GBrJ(U?tc9KdlAgM7ynw5w0{Al( automatically tacked on */ diff --git a/Source/DebuggerWindowController.h b/Source/DebuggerWindowController.h index 6bf0e58..f982cb4 100644 --- a/Source/DebuggerWindowController.h +++ b/Source/DebuggerWindowController.h @@ -32,5 +32,6 @@ - (void)setError: (NSString *)error; - (IBAction)run: (id)sender; +- (IBAction)stepIn: (id)sender; @end diff --git a/Source/DebuggerWindowController.m b/Source/DebuggerWindowController.m index 4e8c1b2..7972066 100644 --- a/Source/DebuggerWindowController.m +++ b/Source/DebuggerWindowController.m @@ -69,4 +69,12 @@ [_connection run]; } +/** + * Forwards the message to "step in" to the connection + */ +- (IBAction)stepIn: (id)sender +{ + [_connection stepIn]; +} + @end -- 2.43.5