cleanup and add a debug log

This commit is contained in:
Riccardo Mottola 2021-07-28 01:22:08 +02:00
parent 56f5d087b9
commit dd9a827b30
2 changed files with 2 additions and 8 deletions

View file

@ -512,6 +512,8 @@
{
NSString *result = nil;
NSLog(@"scanning Result Record |%@|", stringInput);
[stringScanner scanString: @"done" intoString: &result];
if(result != nil)
{

View file

@ -353,47 +353,39 @@ NSString *PCDBDebuggerStartedNotification = @"PCDBDebuggerStartedNotification";
- (void) continue: (id) sender
{
// [self setStatus: @"Continue..."];
[debuggerView putString: @"continue\n"];
}
- (void) restart: (id) sender
{
// [self setStatus: @"Restarting..."];
[self interrupt];
/* each run makes a new PID but we parse it only if non-zero */
[self setSubProcessId:0];
[debuggerView putString: @"run\n"];
// [self setStatus: @"Running..."];
}
- (void) next: (id) sender
{
// [self setStatus: @"Going to next line."];
[debuggerView putString: @"next\n"];
}
- (void) stepInto: (id) sender
{
// [self setStatus: @"Stepping into method."];
[debuggerView putString: @"step\n"];
}
- (void) stepOut: (id) sender
{
// [self setStatus: @"Finishing method."];
[debuggerView putString: @"finish\n"];
}
- (void) up: (id) sender
{
// [self setStatus: @"Up to calling method."];
[debuggerView putString: @"up\n"];
}
- (void) down: (id) sender
{
// [self setStatus: @"Down to called method."];
[debuggerView putString: @"down\n"];
}