diff --git a/.github/jobs/win32.yml b/.github/jobs/win32.yml index 6249a1f17..2c9ff06c4 100644 --- a/.github/jobs/win32.yml +++ b/.github/jobs/win32.yml @@ -75,6 +75,14 @@ jobs: displayName: "Add ASAN runtime DLLs to PATH" condition: ${{parameters.enableSanitizers}} + # When running with Chakra, unhandled JavaScript exceptions trigger the JIT debugger, which + # causes the test to hang. This will disable the JIT debugger for Chakra. + - script: | + for /f %%i in ('vswhere -property instanceId') do ( + reg add HKCU\Software\Microsoft\VisualStudio\Debugger\JIT\{F200A7E7-DEA5-11D0-B854-00A0244A1DE2}\%%i /f /v Disabled /t REG_DWORD /d 1 + ) + displayName: "Disable JIT Debugger for Script" + - script: | cd build${{variables.solutionName}}\Apps\Playground cd RelWithDebInfo diff --git a/Plugins/NativeEngine/Source/NativeEngine.cpp b/Plugins/NativeEngine/Source/NativeEngine.cpp index ffa0c6049..57bb9b7e6 100644 --- a/Plugins/NativeEngine/Source/NativeEngine.cpp +++ b/Plugins/NativeEngine/Source/NativeEngine.cpp @@ -446,7 +446,7 @@ namespace Babylon JS_CLASS_NAME, { // This must match the version in nativeEngine.ts - StaticValue("PROTOCOL_VERSION", Napi::Number::From(env, 9)), + StaticValue("PROTOCOL_VERSION", Napi::Number::From(env, 10)), StaticValue("CAPS_LIMITS_MAX_TEXTURE_SIZE", Napi::Number::From(env, limits.maxTextureSize)), StaticValue("CAPS_LIMITS_MAX_TEXTURE_LAYERS", Napi::Number::From(env, limits.maxTextureLayers)),