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

Function continueRequest

src/debug/dart_debug_impl.ts:1105–1115  ·  view source on GitHub ↗
(response: DebugProtocol.ContinueResponse, args: DebugProtocol.ContinueArguments)

Source from the content-addressed store, hash-verified

1103 }
1104
1105 protected continueRequest(response: DebugProtocol.ContinueResponse, args: DebugProtocol.ContinueArguments): void {
1106 const thread = this.threadManager.getThreadInfoFromNumber(args.threadId);
1107 if (!thread) {
1108 this.errorResponse(response, `No thread with id ${args.threadId}`);
1109 return;
1110 }
1111 thread.resume().then(() => {
1112 response.body = { allThreadsContinued: false };
1113 this.sendResponse(response);
1114 }).catch((error) => this.errorResponse(response, `${error}`));
1115 }
1116
1117 protected nextRequest(response: DebugProtocol.NextResponse, args: DebugProtocol.NextArguments): void {
1118 const thread = this.threadManager.getThreadInfoFromNumber(args.threadId);

Callers

nothing calls this directly

Calls 3

sendResponseMethod · 0.80
resumeMethod · 0.45

Tested by

no test coverage detected