Remove two obsolete methods: |-[DebuggerConnection getCurrentStack]| and |-[DebuggerC...
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 27 Mar 2010 20:33:12 +0000 (16:33 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 27 Mar 2010 20:33:12 +0000 (16:33 -0400)
Source/DebuggerConnection.h
Source/DebuggerConnection.m
Source/DebuggerController.m

index 1d270d3f73f8654ae6b1521d19bf55177902618e..ed637e3ac451521a7e6fcaf87788bbca5df892ea 100644 (file)
 - (NSUInteger)port;
 - (NSString*)remoteHost;
 - (BOOL)isConnected;
-- (NSArray*)getCurrentStack;
 
 // communication
 - (void)reconnect;
index 24eb78de2460c1ded31d321f601a2935fe2ddf4e..48a24fa2897fdaf728ee04b37047300004fca2e5 100644 (file)
@@ -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.
  */
index 19a13e047942b6f407d609652e7e5139ecb2b821..d7a46d284683745709c44c5851312192ba8b7660 100644 (file)
@@ -23,7 +23,6 @@
 - (void)updateSourceViewer;
 - (void)updateStackViewer;
 - (void)expandVariables;
-- (void)reloadStack;
 @end
 
 @implementation DebuggerController
        }
 }
 
-/**
- * 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
 
 /**