Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
[Merge chakra-core/ChakraCore@78b3208be5] [MERGE #3353 @obastemur] De…
Browse files Browse the repository at this point in the history
…bugger: keep new jobs while debugger is attached

Merge pull request #3353 from obastemur:fix_debug

~~Fixes #3352~~

If JIT is enabled (in debug mode) force NoNative.
  • Loading branch information
chakrabot authored and kfarnung committed Aug 10, 2017
1 parent 0a29c27 commit 60ce06f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deps/chakrashim/core/lib/Runtime/Base/ScriptContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3149,7 +3149,13 @@ namespace Js

} autoRestore(this->GetThreadContext());

// xplat-todo: (obastemur) Enable JIT on Debug mode
// CodeGen entrypoint can be deleted before we are able to unregister
// due to how we handle xdata on xplat, resetting the entrypoints below might affect CodeGen process.
// it is safer (on xplat) to turn JIT off during Debug for now.
#ifdef _WIN32
if (!Js::Configuration::Global.EnableJitInDebugMode())
#endif
{
if (attach)
{
Expand Down

0 comments on commit 60ce06f

Please sign in to comment.