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

Method receivedStopEvent

src/frontend/extension.ts:709–720  ·  view source on GitHub ↗
(e: vscode.DebugSessionCustomEvent)

Source from the content-addressed store, hash-verified

707 }
708
709 private receivedStopEvent(e: vscode.DebugSessionCustomEvent) {
710 const mySession = CDebugSession.FindSession(e.session);
711 mySession.status = 'stopped';
712 this.liveWatchProvider?.debugStopped(e.session);
713 vscode.workspace.textDocuments.filter((td) => td.fileName.endsWith('.cdmem')).forEach((doc) => {
714 if (!doc.isClosed) {
715 this.memoryProvider.update(doc);
716 }
717 });
718 if (mySession.swo) { mySession.swo.debugStopped(); }
719 if (mySession.rtt) { mySession.rtt.debugStopped(); }
720 }
721
722 private receivedContinuedEvent(e: vscode.DebugSessionCustomEvent) {
723 const mySession = CDebugSession.FindSession(e.session);

Callers 1

receivedCustomEventMethod · 0.95

Calls 3

FindSessionMethod · 0.80
debugStoppedMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected