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

Method saveState

src/frontend/views/live-watch.ts:430–435  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

428 }
429
430 public saveState() {
431 const state = this.context.workspaceState;
432 const data = this.variables.serialize();
433 state.update(VERSION_ID, LiveWatchTreeProvider.stateVersion);
434 state.update(WATCH_LIST_STATE, data);
435 }
436
437 private isSameSession(session: vscode.DebugSession): boolean {
438 if (session && LiveWatchTreeProvider.session && (session.id === LiveWatchTreeProvider.session.id)) {

Callers 5

addWatchExprMethod · 0.95
removeWatchExprMethod · 0.95
editNodeMethod · 0.95
constructorMethod · 0.80

Calls 2

serializeMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected