apps-projectcenter/Modules/Debuggers/ProjectCenter/PCDebugger.m
Gregory John Casamento 173eb165ac Beginnings of debugger interface.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27314 72102866-910b-0410-8b05-ffd578937521
2008-12-16 21:31:41 +00:00

29 lines
553 B
Objective-C

/* All Rights reserved */
#include <AppKit/AppKit.h>
#include "PCDebugger.h"
@implementation PCDebugger
- (id) init
{
if((self == [super init]) != nil)
{
// initialization here...
}
return self;
}
- (void) startDebugger
{
debuggerTask = [NSTask launchedTaskWithLaunchPath: @"/usr/bin/gdb"
arguments: @""];
standardInput = [debuggerTask standardInput];
standardOutput = [debuggerTask standardOutput];
}
- (void) awakeFromNib
{
[consoleView setFont: [NSFont userFixedPitchFontOfSize: 0]];
[self startDebugger];
}
@end