File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class GDBDebugSession extends MI2DebugSession {
5555
5656 protected override launchRequest ( response : DebugProtocol . LaunchResponse , args : LaunchRequestArguments ) : void {
5757 const dbgCommand = args . gdbpath || "gdb" ;
58- if ( this . checkCommand ( dbgCommand ) ) {
58+ if ( ! this . checkCommand ( dbgCommand ) ) {
5959 this . sendErrorResponse ( response , 104 , `Configured debugger ${ dbgCommand } not found.` ) ;
6060 return ;
6161 }
@@ -101,7 +101,7 @@ class GDBDebugSession extends MI2DebugSession {
101101
102102 protected override attachRequest ( response : DebugProtocol . AttachResponse , args : AttachRequestArguments ) : void {
103103 const dbgCommand = args . gdbpath || "gdb" ;
104- if ( this . checkCommand ( dbgCommand ) ) {
104+ if ( ! this . checkCommand ( dbgCommand ) ) {
105105 this . sendErrorResponse ( response , 104 , `Configured debugger ${ dbgCommand } not found.` ) ;
106106 return ;
107107 }
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ class LLDBDebugSession extends MI2DebugSession {
4949
5050 protected override launchRequest ( response : DebugProtocol . LaunchResponse , args : LaunchRequestArguments ) : void {
5151 const dbgCommand = args . lldbmipath || "lldb-mi" ;
52- if ( this . checkCommand ( dbgCommand ) ) {
52+ if ( ! this . checkCommand ( dbgCommand ) ) {
5353 this . sendErrorResponse ( response , 104 , `Configured debugger ${ dbgCommand } not found.` ) ;
5454 return ;
5555 }
@@ -95,7 +95,7 @@ class LLDBDebugSession extends MI2DebugSession {
9595
9696 protected override attachRequest ( response : DebugProtocol . AttachResponse , args : AttachRequestArguments ) : void {
9797 const dbgCommand = args . lldbmipath || "lldb-mi" ;
98- if ( this . checkCommand ( dbgCommand ) ) {
98+ if ( ! this . checkCommand ( dbgCommand ) ) {
9999 this . sendErrorResponse ( response , 104 , `Configured debugger ${ dbgCommand } not found.` ) ;
100100 return ;
101101 }
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ class MagoDebugSession extends MI2DebugSession {
5151
5252 protected override launchRequest ( response : DebugProtocol . LaunchResponse , args : LaunchRequestArguments ) : void {
5353 const dbgCommand = args . magomipath || "mago-mi" ;
54- if ( this . checkCommand ( dbgCommand ) ) {
54+ if ( ! this . checkCommand ( dbgCommand ) ) {
5555 this . sendErrorResponse ( response , 104 , `Configured debugger ${ dbgCommand } not found.` ) ;
5656 return ;
5757 }
@@ -75,7 +75,7 @@ class MagoDebugSession extends MI2DebugSession {
7575
7676 protected override attachRequest ( response : DebugProtocol . AttachResponse , args : AttachRequestArguments ) : void {
7777 const dbgCommand = args . magomipath || "mago-mi" ;
78- if ( this . checkCommand ( dbgCommand ) ) {
78+ if ( ! this . checkCommand ( dbgCommand ) ) {
7979 this . sendErrorResponse ( response , 104 , `Configured debugger ${ dbgCommand } not found.` ) ;
8080 return ;
8181 }
You can’t perform that action at this time.
0 commit comments