(liveGdb: LiveWatchMonitor)
| 911 | } |
| 912 | |
| 913 | public startGdbForLiveWatch(liveGdb: LiveWatchMonitor): Promise<void> { |
| 914 | const mi2 = new MI2(this.miDebugger.application, this.miDebugger.args, true); |
| 915 | liveGdb.setupEvents(mi2); |
| 916 | const commands = [...this.gdbInitCommands]; |
| 917 | mi2.debugOutput = this.args.showDevDebugOutput as ADAPTER_DEBUG_MODE; |
| 918 | commands.push('interpreter-exec console "set stack-cache off"'); |
| 919 | commands.push('interpreter-exec console "set remote interrupt-on-connect off"'); |
| 920 | if (this.serverController?.initCommands) { |
| 921 | commands.push(...this.serverController.initCommands()); |
| 922 | } |
| 923 | const ret = mi2.start(this.args.cwd, commands); |
| 924 | return ret; |
| 925 | } |
| 926 | |
| 927 | private sendContinue(): Promise<void> { |
| 928 | return new Promise<void>((resolve) => { |
no test coverage detected