Commit f204573 1 parent 1695116 commit f204573 Copy full SHA for f204573
File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -213,4 +213,10 @@ differently based on whether the remote system is a POSIX or a Windows system.
213
213
You may need to experiment to find the correct escaping necessary for the command to be
214
214
sent to the debugger as you intended.
215
215
216
+ ### LogMessage
217
+
218
+ LogMessage will print a message in the debug console when breakpoint is hit. Expressions within {} are interpolated.
219
+
220
+ ![ LogMessage] ( images/logMessage.gif )
221
+
216
222
## [ Issues] ( https://github.com/WebFreak001/code-debug )
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class LogMessage {
50
50
}
51
51
}
52
52
}
53
- return null
53
+ return undefined ;
54
54
}
55
55
}
56
56
@@ -639,7 +639,6 @@ export class MI2 extends EventEmitter implements IBackend {
639
639
commands += `\"print ${ m [ 1 ] } \" ` ;
640
640
}
641
641
}
642
- commands += "\"continue\"" ;
643
642
return this . sendCommand ( "break-commands " + bkptNum + " " + commands ) ;
644
643
}
645
644
@@ -696,7 +695,6 @@ export class MI2 extends EventEmitter implements IBackend {
696
695
breakpoint . id = newBrk . id ;
697
696
this . breakpoints . set ( newBrk , bkptNum ) ;
698
697
this . logMessage . logMsgBrkList . push ( breakpoint ) ;
699
-
700
698
resolve ( [ true , newBrk ] ) ;
701
699
} else {
702
700
resolve ( [ false , undefined ] ) ;
You can’t perform that action at this time.
0 commit comments