Skip to content

Commit ca65938

Browse files
authored
Disable JIT debugging when running with Chakra (#1592)
Disables the JIT debugger for Chakra to prevent test hangs caused by unhandled JavaScript exceptions.
1 parent cc7d633 commit ca65938

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/jobs/win32.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ jobs:
7575
displayName: "Add ASAN runtime DLLs to PATH"
7676
condition: ${{parameters.enableSanitizers}}
7777
78+
# When running with Chakra, unhandled JavaScript exceptions trigger the JIT debugger, which
79+
# causes the test to hang. This will disable the JIT debugger for Chakra.
80+
- script: |
81+
for /f %%i in ('vswhere -property instanceId') do (
82+
reg add HKCU\Software\Microsoft\VisualStudio\Debugger\JIT\{F200A7E7-DEA5-11D0-B854-00A0244A1DE2}\%%i /f /v Disabled /t REG_DWORD /d 1
83+
)
84+
displayName: "Disable JIT Debugger for Script"
85+
7886
- script: |
7987
cd build${{variables.solutionName}}\Apps\Playground
8088
cd RelWithDebInfo

0 commit comments

Comments
 (0)