()
| 1172 | } |
| 1173 | |
| 1174 | protected async setGdbOutputRadix() { |
| 1175 | for (const cmd of this.formatRadixGdbCommand()) { |
| 1176 | try { |
| 1177 | await this.miDebugger.sendCommand(cmd); |
| 1178 | if (this.miLiveGdb?.miDebugger) { |
| 1179 | await this.miLiveGdb.miDebugger.sendCommand(cmd); |
| 1180 | } |
| 1181 | } |
| 1182 | catch {} |
| 1183 | } |
| 1184 | if (this.stopped) { |
| 1185 | // We are already stopped but this fakes a stop again which refreshes all debugger windows |
| 1186 | // We don't have a way to only refresh portions. It is all or nothing, there is a bit |
| 1187 | // of screen flashing and causes changes in GUI contexts (stack for instance) |
| 1188 | this.sendEvent(new StoppedEvent(this.stoppedReason, this.currentThreadId, true)); |
| 1189 | } |
| 1190 | } |
| 1191 | |
| 1192 | private formatRadixGdbCommand(forced: string | null = null): string[] { |
| 1193 | // radix setting affects future interpretations of values, so format it unambiguously with hex values |
no test coverage detected