MCPcopy Create free account
hub / github.com/Snapchat/Valdi / waitForPause

Function waitForPause

valdi/vscode_debugger/src/test/testIntegrationUtils.ts:110–115  ·  view source on GitHub ↗
(p: ITestHandle, cb?: (threadId: string) => Promise<void>)

Source from the content-addressed store, hash-verified

108});
109
110export async function waitForPause(p: ITestHandle, cb?: (threadId: string) => Promise<void>) {
111 const { threadId } = p.log(await p.dap.once('stopped'));
112 await p.logger.logStackTrace(threadId);
113 await cb?.(threadId);
114 return p.dap.continue({ threadId });
115}

Callers 3

breakpointsTest.tsFile · 0.90
waitForPauseAndLogIFunction · 0.90
sourcesTest.tsFile · 0.90

Calls 5

logStackTraceMethod · 0.80
logMethod · 0.65
onceMethod · 0.65
continueMethod · 0.65
cbFunction · 0.50

Tested by

no test coverage detected