https://src.bluestatic.org
/
macgdbp.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b529530
)
Force a re-serialization of Breakpoints on decode.
author
Robert Sesek <rsesek@bluestatic.org>
Sun, 8 Dec 2019 04:49:39 +0000
(23:49 -0500)
committer
Robert Sesek <rsesek@bluestatic.org>
Sun, 15 Dec 2019 17:08:04 +0000
(12:08 -0500)
Source/BreakpointManager.m
patch
|
blob
|
history
diff --git
a/Source/BreakpointManager.m
b/Source/BreakpointManager.m
index 75e6786e2388931b95ee7cd85de9016e7c421c8a..bc4b2165000e4dc77a86e1966199fa2e29130e63 100644
(file)
--- a/
Source/BreakpointManager.m
+++ b/
Source/BreakpointManager.m
@@
-39,9
+39,10
@@
NSArray* savedBreakpoints = [[NSUserDefaults standardUserDefaults] arrayForKey:kPrefBreakpoints];
if (savedBreakpoints) {
- [_savedBreakpoints addObjectsFromArray:savedBreakpoints];
for (NSDictionary* d in savedBreakpoints) {
- [_breakpoints addObject:[[Breakpoint alloc] initWithDictionary:d]];
+ Breakpoint* bp = [[Breakpoint alloc] initWithDictionary:d];
+ [_breakpoints addObject:bp];
+ [_savedBreakpoints addObject:[bp dictionary]];
}
}
}