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

Function reloadSources

src/debug/dart_debug_impl.ts:1818–1826  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1816 }
1817
1818 private async reloadSources(): Promise<void> {
1819 if (!this.vmService)
1820 return;
1821
1822 const result = await this.vmService.getVM();
1823 const vm = result.result as VM;
1824
1825 await Promise.all(vm.isolates.map((isolateRef) => this.vmService!.callMethod("reloadSources", { isolateId: isolateRef.id })));
1826 }
1827
1828 protected logStdout(message: string) {
1829 this.logToUserBuffered(message, "stdout");

Callers

nothing calls this directly

Calls 2

getVMMethod · 0.80
callMethodMethod · 0.45

Tested by

no test coverage detected