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

Method activeEditorChanged

src/frontend/extension.ts:253–261  ·  view source on GitHub ↗
(editor: vscode.TextEditor)

Source from the content-addressed store, hash-verified

251 }
252
253 private activeEditorChanged(editor: vscode.TextEditor) {
254 const session = CortexDebugExtension.getActiveCDSession();
255 if (editor !== undefined && session) {
256 const uri = editor.document.uri;
257 if (uri.scheme === 'file') {
258 // vscode.debug.activeDebugSession.customRequest('set-active-editor', { path: uri.path });
259 }
260 }
261 }
262
263 private examineMemory() {
264 const cmd = 'mcu-debug.memory-view.addMemoryView';

Callers

nothing calls this directly

Calls 1

getActiveCDSessionMethod · 0.80

Tested by

no test coverage detected