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

Method handlePaused

src/debug/threads.ts:366–375  ·  view source on GitHub ↗
(pauseEvent: VMEvent)

Source from the content-addressed store, hash-verified

364 }
365
366 public handlePaused(pauseEvent: VMEvent) {
367 this.atAsyncSuspension = pauseEvent.atAsyncSuspension === true;
368 if (pauseEvent.exception) {
369 const exception = pauseEvent.exception;
370 (exception as InstanceWithEvaluateName).evaluateName = "$_threadException";
371 this.exceptionReference = this.storeData(exception);
372 }
373 this.paused = true;
374 this.pauseEvent = pauseEvent;
375 }
376}
377
378interface StorableData {

Callers 1

handlePauseEventFunction · 0.80

Calls 1

storeDataMethod · 0.95

Tested by

no test coverage detected