https://src.bluestatic.org
/
macgdbp.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d746f73
)
We need to set self.attached before referencing it.
1.4.0.85
author
Robert Sesek <rsesek@bluestatic.org>
Sat, 26 Feb 2011 19:20:05 +0000
(14:20 -0500)
committer
Robert Sesek <rsesek@bluestatic.org>
Sat, 26 Feb 2011 19:20:50 +0000
(14:20 -0500)
Source/DebuggerBackEnd.m
patch
|
blob
|
history
diff --git
a/Source/DebuggerBackEnd.m
b/Source/DebuggerBackEnd.m
index 215750d6a93dde79d4acbb6f5ffbcee2f2ec0cfe..a739b2197337782d7f455534cd6031aa9ed7e363 100644
(file)
--- a/
Source/DebuggerBackEnd.m
+++ b/
Source/DebuggerBackEnd.m
@@
-60,10
+60,11
@@
[[BreakpointManager sharedManager] setConnection:self];
connection_ = [[NetworkConnection alloc] initWithPort:aPort];
connection_.delegate = self;
- if (self.attached)
- [connection_ connect];
attached_ = [[NSUserDefaults standardUserDefaults] boolForKey:@"DebuggerAttached"];
+
+ if (self.attached)
+ [connection_ connect];
}
return self;
}