MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / resume

Method resume

src/debug/threads.ts:324–335  ·  view source on GitHub ↗
(step?: string, frameIndex?: number)

Source from the content-addressed store, hash-verified

322 }
323
324 public async resume(step?: string, frameIndex?: number): Promise<void> {
325 if (!this.paused || this.hasPendingResume || !this.manager.debugSession.vmService)
326 return;
327
328 this.hasPendingResume = true;
329 try {
330 await this.manager.debugSession.vmService.resume(this.ref.id, step, frameIndex);
331 this.handleResumed();
332 } finally {
333 this.hasPendingResume = false;
334 }
335 }
336
337 public getScript(scriptRef: VMScriptRef): Promise<VMScript> {
338 const scriptId = scriptRef.id;

Callers 8

checkResumeMethod · 0.95
continueRequestFunction · 0.45
nextRequestFunction · 0.45
stepInRequestFunction · 0.45
stepOutRequestFunction · 0.45
restartFrameRequestFunction · 0.45
handlePauseEventFunction · 0.45

Calls 1

handleResumedMethod · 0.95

Tested by

no test coverage detected