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

Method getActiveCDSession

src/frontend/extension.ts:148–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146 }
147
148 public static getActiveCDSession() {
149 const session = vscode.debug.activeDebugSession;
150 if (session?.type === 'cortex-debug') {
151 return session;
152 }
153 return null;
154 }
155
156 private resetDevice() {
157 let session = CortexDebugExtension.getActiveCDSession();

Callers 4

resetDeviceMethod · 0.80
activeEditorChangedMethod · 0.80
examineMemoryLegacyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected