Implemented debuggerSetup method.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@40227 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2016-11-19 16:25:37 +00:00
parent b9df6e5d27
commit 19997eb5c1
4 changed files with 30 additions and 6 deletions

View file

@ -1,3 +1,10 @@
2016-11-19 11:22-EST Gregory John Casamento <greg.casamento@gmail.com>
* Modules/Debuggers/ProjectCenter/PCDebugger.m
* Modules/Debuggers/ProjectCenter/PCDebuggerViewDelegateProtocol.h
* Modules/Debuggers/ProjectCenter/PipeDelegate.m: Added/implemented
debuggerSetup method.
2016-11-18 Riccardo Mottola <rm@gnu.org>
* Modules/Projects/Application/PCAppProject+Inspector.h
@ -8,6 +15,7 @@
* Modules/Debuggers/ProjectCenter/PipeDelegate.m
Commands need new-line.
>>>>>>> .r40226
2016-11-17 09:20-EST Gregory John Casamento <greg.casamento@gmail.com>
* Modules/Debuggers/ProjectCenter/PipeDelegate.m: Change flag to yes

View file

@ -1,5 +1,5 @@
/*
** PCDebugger
** PCDebugger.m
**
** Copyright (c) 2008-2016
**
@ -195,11 +195,6 @@ NSString *PCDBDebuggerStartedNotification = @"PCDBDebuggerStartedNotification";
}
- (void) handleNotification: (NSNotification *)notification
{
[self initBreakpoints];
}
- (void) initBreakpoints
{
id <PCDebuggerViewDelegateProtocol> viewDelegate;
@ -219,6 +214,20 @@ NSString *PCDBDebuggerStartedNotification = @"PCDBDebuggerStartedNotification";
[viewDelegate setBreakpoints:breakpoints];
}
- (void) debuggerSetup
{
id <PCDebuggerViewDelegateProtocol> viewDelegate;
viewDelegate = [debuggerView delegate];
[viewDelegate debuggerSetup];
}
- (void) handleNotification: (NSNotification *)notification
{
[self initBreakpoints];
[self debuggerSetup];
}
- (void) awakeFromNib
{
NSToolbar *toolbar = [(NSToolbar *)[NSToolbar alloc] initWithIdentifier: @"PCDebuggerToolbar"];

View file

@ -59,4 +59,6 @@
- (void) keyDown: (NSEvent*)theEvent;
- (void) debuggerSetup;
@end

View file

@ -696,4 +696,9 @@
}
}
- (void) debuggerSetup
{
NSString *command = @"set confirm off\n";
[self typeString: command];
}
@end