File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ export class MI2 extends EventEmitter implements IBackend {
9696 reject ( new Error ( 'Could not start gdb, no response from gdb' ) ) ;
9797 } , 10 ) ;
9898 timeout = undefined ;
99- } , 5000 ) ;
99+ } , 1000 ) ;
100100
101101 const swallOutput = this . debugOutput ? false : true ;
102102 let v ;
@@ -763,11 +763,11 @@ export class MI2 extends EventEmitter implements IBackend {
763763 reject ( new MIError ( result . result ( 'msg' ) || 'Internal error' , 'Setting breakpoint condition' ) ) ;
764764 }
765765 } ,
766- ( reason ) => {
767- // Just delete the breakpoint we just created as the condition creation failed
768- this . sendCommand ( `break-delete ${ bkptNum } ` ) . then ( ( x ) => { } , ( e ) => { } ) ;
769- reject ( reason ) ; // Use this reason as reason for failing to create the breakpoint
770- } ) ;
766+ ( reason ) => {
767+ // Just delete the breakpoint we just created as the condition creation failed
768+ this . sendCommand ( `break-delete ${ bkptNum } ` ) . then ( ( x ) => { } , ( e ) => { } ) ;
769+ reject ( reason ) ; // Use this reason as reason for failing to create the breakpoint
770+ } ) ;
771771 } else {
772772 resolve ( breakpoint ) ;
773773 }
You can’t perform that action at this time.
0 commit comments