From 52ef463c3df65a96809adbc2ea9b3cf1a0f16f8d Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 26 Feb 2011 14:20:05 -0500 Subject: [PATCH] We need to set self.attached before referencing it. --- Source/DebuggerBackEnd.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/DebuggerBackEnd.m b/Source/DebuggerBackEnd.m index 215750d..a739b21 100644 --- 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; } -- 2.43.5