MCPcopy Create free account
hub / github.com/Marus/cortex-debug / updateRTOSInfo

Method updateRTOSInfo

src/frontend/rtos/rtos.ts:257–265  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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;

Callers 1

updateMethod · 0.95

Calls 1

refreshMethod · 0.45

Tested by

no test coverage detected