From 6776fa7313d5db4f8d18e6adac65eeb379d6a3e7 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 27 Mar 2010 16:33:12 -0400 Subject: [PATCH] Remove two obsolete methods: |-[DebuggerConnection getCurrentStack]| and |-[DebuggerController reloadStack]|. --- Source/DebuggerConnection.h | 1 - Source/DebuggerConnection.m | 10 ---------- Source/DebuggerController.m | 17 ----------------- 3 files changed, 28 deletions(-) diff --git a/Source/DebuggerConnection.h b/Source/DebuggerConnection.h index 1d270d3..ed637e3 100644 --- a/Source/DebuggerConnection.h +++ b/Source/DebuggerConnection.h @@ -105,7 +105,6 @@ - (NSUInteger)port; - (NSString*)remoteHost; - (BOOL)isConnected; -- (NSArray*)getCurrentStack; // communication - (void)reconnect; diff --git a/Source/DebuggerConnection.m b/Source/DebuggerConnection.m index 24eb78d..48a24fa 100644 --- a/Source/DebuggerConnection.m +++ b/Source/DebuggerConnection.m @@ -282,16 +282,6 @@ void SocketAcceptCallback(CFSocketRef socket, [self connect]; } -/** - * Creates an entirely new stack and returns it as an array of StackFrame objects. - */ -- (NSArray*)getCurrentStack -{ - NSMutableArray* stack = [NSMutableArray array]; - NSLog(@"NOTIMPLEMENTED(): %s", _cmd); - return stack; -} - /** * Tells the debugger to continue running the script. Returns the current stack frame. */ diff --git a/Source/DebuggerController.m b/Source/DebuggerController.m index 19a13e0..d7a46d2 100644 --- a/Source/DebuggerController.m +++ b/Source/DebuggerController.m @@ -23,7 +23,6 @@ - (void)updateSourceViewer; - (void)updateStackViewer; - (void)expandVariables; -- (void)reloadStack; @end @implementation DebuggerController @@ -305,22 +304,6 @@ } } -/** - * This updates the entire stack. Xdebug is queried to get the stack, non-shifted - * frames are reused and new ones are fetched. - */ -- (void)reloadStack -{ - NSArray* stack = [connection getCurrentStack]; - if (stack == nil) - return; - - [stackController.stack removeAllObjects]; - [stackController.stack addObjectsFromArray:stack]; - [self updateStackViewer]; - [self updateSourceViewer]; -} - #pragma mark BSSourceView Delegate /** -- 2.22.5