From 356ddd51f805ef5ee2150c6dfb40446a22e72c44 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 5 Aug 2007 00:24:05 -0700 Subject: [PATCH] We now get the property when we go past the currently-fetched depth but we do not have the display updating yet * Source/DebuggerConnection.h: New ivar _depthFetchElement to record the element that requested more registers * Source/DebuggerConnection.m: ([DebuggerConnection dataReceived:deliverTo:]): Removed an NSLog() ([DebuggerConnection getProperty:forElement:]): New method that gets a specified property for a specific element ([DebuggerConnection propertyReceived:]): Recived data delivery handler for getProperty:forElement: * Source/DebuggerWindowController.m: ([DebuggerWindowController outlineViewItemDidExpand:]): Call the getProperty:forElement: method to get deeper properties * English.lproj/Debugger.nib: Set the delegate of the NSOutlineView to be the first responder --- English.lproj/Debugger.nib/keyedobjects.nib | Bin 16366 -> 16402 bytes Source/DebuggerConnection.h | 5 ++++ Source/DebuggerConnection.m | 30 +++++++++++++++++++- Source/DebuggerWindowController.m | 13 ++------- 4 files changed, 36 insertions(+), 12 deletions(-) diff --git a/English.lproj/Debugger.nib/keyedobjects.nib b/English.lproj/Debugger.nib/keyedobjects.nib index 272ec63e64515e3d2e4205ee292ab4f3a800a677..8a5a79ff98d385025d4951208cb9621650dfb819 100644 GIT binary patch delta 7723 zcmb7IcYGAp_MdWRb~oE*v%U9hpWT_zq}R|w5(x?LFoYH`v_KLdA;8{2=>mbJK18~p zv`Bjh(iABwqA1G4LRF9sVgrQV-3|87`{S4W%+Aj4Dc^I>_uO-HZ^h?BytWjd^~O*y z9=}FhCvFix5x)|TNkGa;HK`$uq=|HpUNVCWkP(t48xcI&m~4gKTa)d{4rCVDgM5xG zAxp_|WEDAyoJLM3wve;Q1>`H_T5=t^p4?3CB=?eUk#CdllOL0($TQ>x@(OvCyhYw2 z?~=bDOAi1+@PLd15fB3jNCR@907{?&=|BxMKo88I0cZ|dfHoitbOhO;8|V)5K_Tb^ zo&$qH6%fE=@B(-dOaW8DG%y3q0<~Zsm=6+Q5m*jh0V}{tupZqvfY(4By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dvk#&(Rk?oN;BX39cL=Hwi zikyjj7Wq#k`E}$*mfA3Gnr%vxDH>tx-m zm-VwjHj9n0F*eR}Y&Kh$t$Gu|wI_ z>{|8>b_2VK-NJ5Tcd&1=Z?U`Cz3e{rUG_cpAbW`YkUh*EVUM!M*%Rz3_6&QDJ3^t^wDGYr-|>T5v77)?7R8Ij$qunJeJBaXq+R-1A%^*Pkomin$lK z7rCKaDL0&};HtP9ZZ!82m*mEA6S!J#3MX>+xd+@M9_Ils;WKz8&+uB_z?*p+@8I3M zj}P);KE@~bY`z}ffN#vVZN}&EE%`S5vwR1>6JNl0=X>#e_ + + + + + */ + [_depthFetchElement setChildren: [[[doc rootElement] nextSibling] children]]; + _depthFetchElement = nil; + [doc release]; +} + /** * Helper method to create a string command with the -i automatically tacked on */ diff --git a/Source/DebuggerWindowController.m b/Source/DebuggerWindowController.m index c4cc03e..669acc5 100644 --- a/Source/DebuggerWindowController.m +++ b/Source/DebuggerWindowController.m @@ -203,19 +203,10 @@ // we damn well need it, so f!ck the rules and we're using it. NSXMLElement *obj = [[[notif userInfo] objectForKey: @"NSObject"] observedObject]; - // hmm... we're not a leaf but have no children. this must be beyond our depth, so go make us - // deeper + // we're not a leaf but have no children. this must be beyond our depth, so go make us deeper if (![obj isLeaf] && [[obj children] count] < 1) { - // count upwards to see how deep we should go - int depth = 0; - NSXMLElement *elm = obj; - while (elm != nil) - { - depth++; - elm = (NSXMLElement *)[elm parent]; - } - NSLog(@"let's go to depth %d for %@", depth, obj); + [_connection getProperty: [[obj attributeForName: @"fullname"] stringValue] forElement: obj]; } } -- 2.43.5