()
| 255 | |
| 256 | // Only updates the RTOS state. Only debug sessions that are currently stopped will be updated |
| 257 | public async updateRTOSInfo(): Promise<any> { |
| 258 | const promises = []; |
| 259 | if (this.enabled && this.visible) { |
| 260 | for (const rtosSession of this.sessionMap.values()) { |
| 261 | promises.push(rtosSession.refresh()); |
| 262 | } |
| 263 | } |
| 264 | return Promise.all(promises); |
| 265 | } |
| 266 | |
| 267 | public toggleRTOSPanel() { |
| 268 | this.enabled = !this.enabled; |