@@ -182,7 +182,7 @@ export class MI2DebugSession extends DebugSession {
182182 this . quitEvent ( ) ;
183183 }
184184
185- protected disconnectRequest ( response : DebugProtocol . DisconnectResponse , args : DebugProtocol . DisconnectArguments ) : void {
185+ protected override disconnectRequest ( response : DebugProtocol . DisconnectResponse , args : DebugProtocol . DisconnectArguments ) : void {
186186 if ( this . attached )
187187 this . miDebugger . detach ( ) ;
188188 else
@@ -192,7 +192,7 @@ export class MI2DebugSession extends DebugSession {
192192 this . sendResponse ( response ) ;
193193 }
194194
195- protected async setVariableRequest ( response : DebugProtocol . SetVariableResponse , args : DebugProtocol . SetVariableArguments ) : Promise < void > {
195+ protected override async setVariableRequest ( response : DebugProtocol . SetVariableResponse , args : DebugProtocol . SetVariableArguments ) : Promise < void > {
196196 try {
197197 if ( this . useVarObjects ) {
198198 let name = args . name ;
@@ -219,7 +219,7 @@ export class MI2DebugSession extends DebugSession {
219219 }
220220 }
221221
222- protected setFunctionBreakPointsRequest ( response : DebugProtocol . SetFunctionBreakpointsResponse , args : DebugProtocol . SetFunctionBreakpointsArguments ) : void {
222+ protected override setFunctionBreakPointsRequest ( response : DebugProtocol . SetFunctionBreakpointsResponse , args : DebugProtocol . SetFunctionBreakpointsArguments ) : void {
223223 const all = [ ] ;
224224 args . breakpoints . forEach ( brk => {
225225 all . push ( this . miDebugger . addBreakPoint ( { raw : brk . name , condition : brk . condition , countCondition : brk . hitCondition } ) ) ;
@@ -239,7 +239,7 @@ export class MI2DebugSession extends DebugSession {
239239 } ) ;
240240 }
241241
242- protected setBreakPointsRequest ( response : DebugProtocol . SetBreakpointsResponse , args : DebugProtocol . SetBreakpointsArguments ) : void {
242+ protected override setBreakPointsRequest ( response : DebugProtocol . SetBreakpointsResponse , args : DebugProtocol . SetBreakpointsArguments ) : void {
243243 let path = args . source . path ;
244244 if ( this . isSSH ) {
245245 // convert local path to ssh path
@@ -269,7 +269,7 @@ export class MI2DebugSession extends DebugSession {
269269 } ) ;
270270 }
271271
272- protected threadsRequest ( response : DebugProtocol . ThreadsResponse ) : void {
272+ protected override threadsRequest ( response : DebugProtocol . ThreadsResponse ) : void {
273273 if ( ! this . miDebugger ) {
274274 this . sendResponse ( response ) ;
275275 return ;
@@ -300,7 +300,7 @@ export class MI2DebugSession extends DebugSession {
300300 return [ frameId & 0xffff , frameId >> 16 ] ;
301301 }
302302
303- protected stackTraceRequest ( response : DebugProtocol . StackTraceResponse , args : DebugProtocol . StackTraceArguments ) : void {
303+ protected override stackTraceRequest ( response : DebugProtocol . StackTraceResponse , args : DebugProtocol . StackTraceArguments ) : void {
304304 this . miDebugger . getStack ( args . startFrame , args . levels , args . threadId ) . then ( stack => {
305305 const ret : StackFrame [ ] = [ ] ;
306306 stack . forEach ( element => {
@@ -334,7 +334,7 @@ export class MI2DebugSession extends DebugSession {
334334 } ) ;
335335 }
336336
337- protected configurationDoneRequest ( response : DebugProtocol . ConfigurationDoneResponse , args : DebugProtocol . ConfigurationDoneArguments ) : void {
337+ protected override configurationDoneRequest ( response : DebugProtocol . ConfigurationDoneResponse , args : DebugProtocol . ConfigurationDoneArguments ) : void {
338338 const promises : Thenable < any > [ ] = [ ] ;
339339 let entryPoint : string | undefined = undefined ;
340340 let runToStart : boolean = false ;
@@ -403,7 +403,7 @@ export class MI2DebugSession extends DebugSession {
403403 } ) ;
404404 }
405405
406- protected scopesRequest ( response : DebugProtocol . ScopesResponse , args : DebugProtocol . ScopesArguments ) : void {
406+ protected override scopesRequest ( response : DebugProtocol . ScopesResponse , args : DebugProtocol . ScopesArguments ) : void {
407407 const scopes = new Array < Scope > ( ) ;
408408 const [ threadId , level ] = this . frameIdToThreadAndLevel ( args . frameId ) ;
409409
@@ -430,7 +430,7 @@ export class MI2DebugSession extends DebugSession {
430430 this . sendResponse ( response ) ;
431431 }
432432
433- protected async variablesRequest ( response : DebugProtocol . VariablesResponse , args : DebugProtocol . VariablesArguments ) : Promise < void > {
433+ protected override async variablesRequest ( response : DebugProtocol . VariablesResponse , args : DebugProtocol . VariablesArguments ) : Promise < void > {
434434 const variables : DebugProtocol . Variable [ ] = [ ] ;
435435 const id : VariableScope | string | VariableObject | ExtendedVariable = this . variableHandles . get ( args . variablesReference ) ;
436436
@@ -649,63 +649,63 @@ export class MI2DebugSession extends DebugSession {
649649 }
650650 }
651651
652- protected pauseRequest ( response : DebugProtocol . ContinueResponse , args : DebugProtocol . ContinueArguments ) : void {
652+ protected override pauseRequest ( response : DebugProtocol . ContinueResponse , args : DebugProtocol . ContinueArguments ) : void {
653653 this . miDebugger . interrupt ( ) . then ( done => {
654654 this . sendResponse ( response ) ;
655655 } , msg => {
656656 this . sendErrorResponse ( response , 3 , `Could not pause: ${ msg } ` ) ;
657657 } ) ;
658658 }
659659
660- protected reverseContinueRequest ( response : DebugProtocol . ReverseContinueResponse , args : DebugProtocol . ReverseContinueArguments ) : void {
660+ protected override reverseContinueRequest ( response : DebugProtocol . ReverseContinueResponse , args : DebugProtocol . ReverseContinueArguments ) : void {
661661 this . miDebugger . continue ( true ) . then ( done => {
662662 this . sendResponse ( response ) ;
663663 } , msg => {
664664 this . sendErrorResponse ( response , 2 , `Could not continue: ${ msg } ` ) ;
665665 } ) ;
666666 }
667667
668- protected continueRequest ( response : DebugProtocol . ContinueResponse , args : DebugProtocol . ContinueArguments ) : void {
668+ protected override continueRequest ( response : DebugProtocol . ContinueResponse , args : DebugProtocol . ContinueArguments ) : void {
669669 this . miDebugger . continue ( ) . then ( done => {
670670 this . sendResponse ( response ) ;
671671 } , msg => {
672672 this . sendErrorResponse ( response , 2 , `Could not continue: ${ msg } ` ) ;
673673 } ) ;
674674 }
675675
676- protected stepBackRequest ( response : DebugProtocol . StepBackResponse , args : DebugProtocol . StepBackArguments ) : void {
676+ protected override stepBackRequest ( response : DebugProtocol . StepBackResponse , args : DebugProtocol . StepBackArguments ) : void {
677677 this . miDebugger . step ( true ) . then ( done => {
678678 this . sendResponse ( response ) ;
679679 } , msg => {
680680 this . sendErrorResponse ( response , 4 , `Could not step back: ${ msg } - Try running 'target record-full' before stepping back` ) ;
681681 } ) ;
682682 }
683683
684- protected stepInRequest ( response : DebugProtocol . NextResponse , args : DebugProtocol . NextArguments ) : void {
684+ protected override stepInRequest ( response : DebugProtocol . NextResponse , args : DebugProtocol . NextArguments ) : void {
685685 this . miDebugger . step ( ) . then ( done => {
686686 this . sendResponse ( response ) ;
687687 } , msg => {
688688 this . sendErrorResponse ( response , 4 , `Could not step in: ${ msg } ` ) ;
689689 } ) ;
690690 }
691691
692- protected stepOutRequest ( response : DebugProtocol . NextResponse , args : DebugProtocol . NextArguments ) : void {
692+ protected override stepOutRequest ( response : DebugProtocol . NextResponse , args : DebugProtocol . NextArguments ) : void {
693693 this . miDebugger . stepOut ( ) . then ( done => {
694694 this . sendResponse ( response ) ;
695695 } , msg => {
696696 this . sendErrorResponse ( response , 5 , `Could not step out: ${ msg } ` ) ;
697697 } ) ;
698698 }
699699
700- protected nextRequest ( response : DebugProtocol . NextResponse , args : DebugProtocol . NextArguments ) : void {
700+ protected override nextRequest ( response : DebugProtocol . NextResponse , args : DebugProtocol . NextArguments ) : void {
701701 this . miDebugger . next ( ) . then ( done => {
702702 this . sendResponse ( response ) ;
703703 } , msg => {
704704 this . sendErrorResponse ( response , 6 , `Could not step over: ${ msg } ` ) ;
705705 } ) ;
706706 }
707707
708- protected evaluateRequest ( response : DebugProtocol . EvaluateResponse , args : DebugProtocol . EvaluateArguments ) : void {
708+ protected override evaluateRequest ( response : DebugProtocol . EvaluateResponse , args : DebugProtocol . EvaluateArguments ) : void {
709709 const [ threadId , level ] = this . frameIdToThreadAndLevel ( args . frameId ) ;
710710 if ( args . context == "watch" || args . context == "hover" ) {
711711 this . miDebugger . evalExpression ( args . expression , threadId , level ) . then ( ( res ) => {
@@ -736,7 +736,7 @@ export class MI2DebugSession extends DebugSession {
736736 }
737737 }
738738
739- protected gotoTargetsRequest ( response : DebugProtocol . GotoTargetsResponse , args : DebugProtocol . GotoTargetsArguments ) : void {
739+ protected override gotoTargetsRequest ( response : DebugProtocol . GotoTargetsResponse , args : DebugProtocol . GotoTargetsArguments ) : void {
740740 const path : string = this . isSSH ? this . sourceFileMap . toRemotePath ( args . source . path ) : args . source . path ;
741741 this . miDebugger . goto ( path , args . line ) . then ( done => {
742742 response . body = {
@@ -753,7 +753,7 @@ export class MI2DebugSession extends DebugSession {
753753 } ) ;
754754 }
755755
756- protected gotoRequest ( response : DebugProtocol . GotoResponse , args : DebugProtocol . GotoArguments ) : void {
756+ protected override gotoRequest ( response : DebugProtocol . GotoResponse , args : DebugProtocol . GotoArguments ) : void {
757757 this . sendResponse ( response ) ;
758758 }
759759
0 commit comments