1- import { Breakpoint , IBackend , Thread , Stack , SSHArguments , Variable , VariableObject , MIError } from "../backend"
2- import * as ChildProcess from "child_process"
3- import { EventEmitter } from "events"
1+ import { Breakpoint , IBackend , Thread , Stack , SSHArguments , Variable , VariableObject , MIError } from "../backend" ;
2+ import * as ChildProcess from "child_process" ;
3+ import { EventEmitter } from "events" ;
44import { parseMI , MINode } from '../mi_parse' ;
55import * as linuxTerm from '../linux/console' ;
6- import * as net from "net"
7- import * as fs from "fs"
8- import { posix } from "path"
9- import * as nativePath from "path"
6+ import * as net from "net" ;
7+ import * as fs from "fs" ;
8+ import { posix } from "path" ;
9+ import * as nativePath from "path" ;
1010const path = posix ;
1111import { Client } from "ssh2" ;
1212
@@ -66,7 +66,7 @@ export class MI2 extends EventEmitter implements IBackend {
6666 promises . push ( this . sendCommand ( "exec-arguments " + procArgs ) ) ;
6767 if ( process . platform == "win32" ) {
6868 if ( separateConsole !== undefined )
69- promises . push ( this . sendCommand ( "gdb-set new-console on" ) )
69+ promises . push ( this . sendCommand ( "gdb-set new-console on" ) ) ;
7070 Promise . all ( promises ) . then ( ( ) => {
7171 this . emit ( "debug-ready" ) ;
7272 resolve ( ) ;
@@ -170,7 +170,7 @@ export class MI2 extends EventEmitter implements IBackend {
170170 if ( procArgs && procArgs . length && ! attach )
171171 promises . push ( this . sendCommand ( "exec-arguments " + procArgs ) ) ;
172172 Promise . all ( promises ) . then ( ( ) => {
173- this . emit ( "debug-ready" )
173+ this . emit ( "debug-ready" ) ;
174174 resolve ( ) ;
175175 } , reject ) ;
176176 } ) ;
@@ -231,7 +231,7 @@ export class MI2 extends EventEmitter implements IBackend {
231231 commands . push ( this . sendCommand ( "file-symbol-file \"" + escape ( executable ) + "\"" ) ) ;
232232 }
233233 Promise . all ( commands ) . then ( ( ) => {
234- this . emit ( "debug-ready" )
234+ this . emit ( "debug-ready" ) ;
235235 resolve ( ) ;
236236 } , reject ) ;
237237 } ) ;
@@ -256,7 +256,7 @@ export class MI2 extends EventEmitter implements IBackend {
256256 this . sendCommand ( "environment-directory \"" + escape ( cwd ) + "\"" ) ,
257257 this . sendCommand ( "target-select remote " + target )
258258 ] ) . then ( ( ) => {
259- this . emit ( "debug-ready" )
259+ this . emit ( "debug-ready" ) ;
260260 resolve ( ) ;
261261 } , reject ) ;
262262 } ) ;
@@ -408,7 +408,7 @@ export class MI2 extends EventEmitter implements IBackend {
408408 } , 1000 ) ;
409409 this . stream . on ( "exit" , function ( code ) {
410410 clearTimeout ( to ) ;
411- } )
411+ } ) ;
412412 this . sendRaw ( "-gdb-exit" ) ;
413413 }
414414 else {
@@ -719,7 +719,7 @@ export class MI2 extends EventEmitter implements IBackend {
719719 async varUpdate ( name : string = "*" ) : Promise < MINode > {
720720 if ( trace )
721721 this . log ( "stderr" , "varUpdate" ) ;
722- return this . sendCommand ( `var-update --all-values ${ name } ` )
722+ return this . sendCommand ( `var-update --all-values ${ name } ` ) ;
723723 }
724724
725725 async varAssign ( name : string , rawValue : string ) : Promise < MINode > {
0 commit comments