Added option to print calls from GDB
This commit is contained in:
parent
cae555af40
commit
544c3a488b
3 changed files with 17 additions and 0 deletions
|
|
@ -476,6 +476,8 @@ export class MI2 extends EventEmitter implements IBackend {
|
|||
}
|
||||
|
||||
sendRaw(raw: string) {
|
||||
if (this.printCalls)
|
||||
this.log("log", raw);
|
||||
if (this.isSSH)
|
||||
this.stream.write(raw + "\n");
|
||||
else
|
||||
|
|
@ -502,6 +504,7 @@ export class MI2 extends EventEmitter implements IBackend {
|
|||
return this.isSSH ? this.sshReady : !!this.process;
|
||||
}
|
||||
|
||||
printCalls: boolean;
|
||||
private isSSH: boolean;
|
||||
private sshReady: boolean;
|
||||
private currentToken: number = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue