the contents
- Fix: #197 Add a menu item and keyboard shortcut for the "Attached" control
- Fix: #208 Variable selection and expansion state not saved across steps
+- Fix: The attached state is now remebered in preferences
1.4 Beta 1
return (AppDelegate*)[NSApp delegate];
}
+- (void)applicationWillTerminate:(NSNotification*)notification
+{
+ [[NSUserDefaults standardUserDefaults] setBool:self.debugger.connection.attached
+ forKey:@"DebuggerAttached"];
+}
+
/**
* Shows the debugger window
*/
connection_ = [[NetworkConnection alloc] initWithPort:aPort];
connection_.delegate = self;
[connection_ connect];
+
+ attached_ = [[NSUserDefaults standardUserDefaults] boolForKey:@"DebuggerAttached"];
}
return self;
}