mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-22 19:31:56 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27314 72102866-910b-0410-8b05-ffd578937521
29 lines
553 B
Objective-C
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
|