<string key="IBDocument.HIToolboxVersion">352.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="7"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
<string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string>
<string key="NSWindowContentMinSize">{213, 107}</string>
<object class="NSView" key="NSWindowView" id="976098315">
- <reference key="NSNextResponder"/>
+ <nil key="NSNextResponder"/>
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
</object>
<string key="NSFrameSize">{769, 501}</string>
- <reference key="NSSuperview"/>
</object>
<string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
<string key="NSMinSize">{213, 169}</string>
</object>
<int key="connectionID">92</int>
</object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">registerController</string>
- <reference key="source" ref="78922448"/>
- <reference key="destination" ref="240336030"/>
- </object>
- <int key="connectionID">144</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">registerView</string>
- <reference key="source" ref="78922448"/>
- <reference key="destination" ref="395283679"/>
- </object>
- <int key="connectionID">169</int>
- </object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">errormsg</string>
</object>
<int key="connectionID">565</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">variablesTreeController</string>
+ <reference key="source" ref="78922448"/>
+ <reference key="destination" ref="240336030"/>
+ </object>
+ <int key="connectionID">566</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">variablesOutlineView</string>
+ <reference key="source" ref="78922448"/>
+ <reference key="destination" ref="395283679"/>
+ </object>
+ <int key="connectionID">567</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
<int key="objectID">59</int>
<reference key="object" ref="240336030"/>
<reference key="parent" ref="931987460"/>
- <string key="objectName">RegistersController</string>
+ <string key="objectName">VariablesController</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">453</int>
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">565</int>
+ <int key="maxID">567</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<object class="NSMutableArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>errormsg</string>
- <string>registerController</string>
- <string>registerView</string>
<string>sourceViewer</string>
<string>stackArrayController</string>
<string>statusmsg</string>
+ <string>variablesOutlineView</string>
+ <string>variablesTreeController</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>NSTextField</string>
- <string>NSTreeController</string>
- <string>NSOutlineView</string>
<string>BSSourceView</string>
<string>NSArrayController</string>
<string>NSTextField</string>
+ <string>NSOutlineView</string>
+ <string>NSTreeController</string>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>errormsg</string>
<string>reconnectButton</string>
- <string>registerController</string>
- <string>registerView</string>
<string>runButton</string>
<string>sourceViewer</string>
<string>stackController2</string>
<string>stepInButton</string>
<string>stepOutButton</string>
<string>stepOverButton</string>
+ <string>variablesOutlineView</string>
+ <string>variablesTreeController</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>NSTextField</string>
<string>NSToolbarItem</string>
- <string>NSTreeController</string>
- <string>NSOutlineView</string>
<string>NSToolbarItem</string>
<string>BSSourceView</string>
<string>NSArrayController</string>
<string>NSToolbarItem</string>
<string>NSToolbarItem</string>
<string>NSToolbarItem</string>
+ <string>NSOutlineView</string>
+ <string>NSTreeController</string>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
connection = [[GDBpConnection alloc] initWithPort:[defaults integerForKey:@"Port"] session:[defaults stringForKey:@"IDEKey"]];
- expandedRegisters = [[NSMutableSet alloc] init];
+ expandedVariables = [[NSMutableSet alloc] init];
[[self window] makeKeyAndOrderFront:nil];
[[self window] setDelegate:self];
- (void)dealloc
{
[connection release];
- [expandedRegisters release];
+ [expandedVariables release];
[stackController release];
[super dealloc];
}
*/
- (void)resetDisplays
{
- [registerController setContent:nil];
+ [variablesTreeController setContent:nil];
[stackController.stack removeAllObjects];
[[sourceViewer textView] setString:@""];
}
- (void)outlineViewItemDidExpand:(NSNotification *)notif
{
NSTreeNode *node = [[notif userInfo] objectForKey:@"NSObject"];
- [expandedRegisters addObject:[[node representedObject] fullname]];
+ [expandedVariables addObject:[[node representedObject] fullname]];
}
/**
*/
- (void)outlineViewItemDidCollapse:(NSNotification *)notif
{
- [expandedRegisters removeObject:[[[[notif userInfo] objectForKey:@"NSObject"] representedObject] fullname]];
+ [expandedVariables removeObject:[[[[notif userInfo] objectForKey:@"NSObject"] representedObject] fullname]];
}
#pragma mark Private
*/
- (void)expandVariables
{
- for (int i = 0; i < [registerView numberOfRows]; i++)
+ for (int i = 0; i < [variablesOutlineView numberOfRows]; i++)
{
- NSTreeNode *node = [registerView itemAtRow:i];
- if ([expandedRegisters containsObject:[[node representedObject] fullname]])
+ NSTreeNode *node = [variablesOutlineView itemAtRow:i];
+ if ([expandedVariables containsObject:[[node representedObject] fullname]])
{
- [registerView expandItem:node];
+ [variablesOutlineView expandItem:node];
}
}
}