From c3ea0e73ce49bd8f6a0000783b0f56ad9db5a60d Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 9 Jun 2008 15:55:03 -0400 Subject: [PATCH] We need an instance of BreakpointWindowController in AppDelegate * Source/AppDelegate.m: (applicationDidFinishLaunching:): Init BreakpointWindowController to breakpoints * Source/BreakpointWindowController.m: (init): Add an init method --- Source/AppDelegate.m | 1 + Source/BreakpointWindowController.m | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/Source/AppDelegate.m b/Source/AppDelegate.m index 7916bd1..c882418 100644 --- a/Source/AppDelegate.m +++ b/Source/AppDelegate.m @@ -37,6 +37,7 @@ { // TODO: use preference values debugger = [[DebuggerWindowController alloc] initWithPort:9000 session:@"macgdbp"]; + breakpoint = [[BreakpointWindowController alloc] init]; } /** diff --git a/Source/BreakpointWindowController.m b/Source/BreakpointWindowController.m index 8aa816a..13655a0 100644 --- a/Source/BreakpointWindowController.m +++ b/Source/BreakpointWindowController.m @@ -19,4 +19,12 @@ @implementation BreakpointWindowController +- (id)init +{ + if (self = [super initWithWindowNibName:@"Breakpoints"]) + { + } + return self; +} + @end -- 2.22.5