From 8816565e4b12a3b239d0a7cb2c8b452f37ca0965 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 4 Jun 2008 21:28:10 -0400 Subject: [PATCH] Comment out the saving of breakpoints to NSUserDefaults because it's generating a lot of noise * Source/BreakpointManager: (addBreakpoint:) (removeBreakpointAt:inFile:) --- Source/BreakpointManager.m | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Source/BreakpointManager.m b/Source/BreakpointManager.m index 7c0fbd6..b4b4406 100644 --- a/Source/BreakpointManager.m +++ b/Source/BreakpointManager.m @@ -64,8 +64,9 @@ NSString *kdBreakpoints = @"breakpoints"; { [lines addObject:bp]; } - [[NSUserDefaults standardUserDefaults] setObject:breakpoints forKey:kdBreakpoints]; - NSLog(@"breakpoints = %@", breakpoints); + // TODO: use NSDictionary to store breakoints because we can only archive defaults in NSUserDefaults + //[[NSUserDefaults standardUserDefaults] setObject:breakpoints forKey:kdBreakpoints]; + //NSLog(@"breakpoints = %@", breakpoints); } /** @@ -79,7 +80,8 @@ NSString *kdBreakpoints = @"breakpoints"; if ([b line] == line) { [lines removeObject:b]; - [[NSUserDefaults standardUserDefaults] setObject:breakpoints forKey:kdBreakpoints]; + // TODO: use NSDictionary + //[[NSUserDefaults standardUserDefaults] setObject:breakpoints forKey:kdBreakpoints]; return b; } } -- 2.43.5