Skip to content

Commit 889c62d

Browse files
authored
Merge pull request #2126 from microsoft/connor4312/1987940-patch
1.95.3
2 parents a5977a0 + 8c90a8d commit 889c62d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "js-debug",
33
"displayName": "JavaScript Debugger",
4-
"version": "1.95.2",
4+
"version": "1.95.3",
55
"publisher": "ms-vscode",
66
"author": {
77
"name": "Microsoft Corporation"

src/adapter/threads.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2007,9 +2007,10 @@ export class Thread implements IVariableStoreLocationProvider {
20072007
// WASM pauses should be unconditionally installed because DWARF parsing
20082008
// always happens at runtime, not in the brekapoint predictor (currently)
20092009
if (handler) {
2010-
await Promise.all(
2010+
const installed = Promise.all(
20112011
[...this._executionContexts.keys()].map(id => this._installWasmPauseHandler(id)),
20122012
);
2013+
await Promise.race([installed, delay(100)]);
20132014
}
20142015

20152016
return !!this._pauseOnSourceMapBreakpointIds?.length;

0 commit comments

Comments
 (0)