(ptyTerm: PtyTerminal, msg: string)
| 190 | } |
| 191 | |
| 192 | public static debugMsgStatic(ptyTerm: PtyTerminal, msg: string) { |
| 193 | try { |
| 194 | const date = new Date(); |
| 195 | msg = `[${date.toISOString()}] SERVER CONSOLE DEBUG: ` + msg; |
| 196 | // console.log(msg); |
| 197 | if (ptyTerm) { |
| 198 | msg += msg.endsWith('\n') ? '' : '\n'; |
| 199 | magentaWrite(msg, ptyTerm); |
| 200 | } |
| 201 | GDBServerConsole.logDataStatic(ptyTerm, msg); |
| 202 | } |
| 203 | finally {} |
| 204 | } |
| 205 | |
| 206 | // Create a server for the GDBServer running in the adapter process. Any data |
| 207 | // from the gdb-server (like OpenOCD) is sent here and sent to the terminal |
no test coverage detected