Added showDevDebugOutput option to debug GDB calls
This commit is contained in:
parent
e7c15f0d71
commit
640abf822b
5 changed files with 51 additions and 7 deletions
|
|
@ -275,7 +275,8 @@ export class MI2 extends EventEmitter implements IBackend {
|
|||
}
|
||||
else {
|
||||
let parsed = parseMI(line);
|
||||
//this.log("log", JSON.stringify(parsed));
|
||||
if (this.debugOutput)
|
||||
this.log("log", "GDB -> App: " + JSON.stringify(parsed));
|
||||
let handled = false;
|
||||
if (parsed.token !== undefined) {
|
||||
if (this.handlers[parsed.token]) {
|
||||
|
|
@ -617,6 +618,7 @@ export class MI2 extends EventEmitter implements IBackend {
|
|||
}
|
||||
|
||||
printCalls: boolean;
|
||||
debugOutput: boolean;
|
||||
protected isSSH: boolean;
|
||||
protected sshReady: boolean;
|
||||
protected currentToken: number = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue