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

Method reset

src/frontend/views/live-watch.ts:163–172  ·  view source on GitHub ↗
(valuesToo = true)

Source from the content-addressed store, hash-verified

161 }
162
163 public reset(valuesToo = true) {
164 this.session = undefined;
165 if (valuesToo) {
166 this.value = this.type = this.prevValue = '';
167 this.variablesReference = 0;
168 }
169 for (const child of this.children || []) {
170 child.reset(valuesToo);
171 }
172 }
173
174 private namedVariables: number = 0;
175 private indexedVariables: number = 0;

Callers 3

doPromptMethod · 0.45
debugSessionStartedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected