diff options
author | Mike McLaughlin <mikem@microsoft.com> | 2018-01-17 16:16:03 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-17 16:16:03 -0800 |
commit | 5bcfde404803f85451cf0ee9fd6406734cb878ff (patch) | |
tree | f8d2b4333eac9a622b27bae1c75780e0079c3128 /src/inc/clrconfigvalues.h | |
parent | 3e619d70d491f34fc950a7fcc635c58cb31ace92 (diff) | |
download | coreclr-5bcfde404803f85451cf0ee9fd6406734cb878ff.tar.gz coreclr-5bcfde404803f85451cf0ee9fd6406734cb878ff.tar.bz2 coreclr-5bcfde404803f85451cf0ee9fd6406734cb878ff.zip |
Add environment variable (COMPlus_EnableDiagnostics) to disable debugging and profiling. (#15878)
To disable the named pipes and semaphores created on linux execute "export COMPlus_EnableDiagnostics=0" before start the .NET Core program.
On Windows execute "set COMPlus_EnableDiagnostics=0" and on Linux execute "export "COMPlus_EnableDiagnostics=0"
Removed the "Telesto" registry entry (old unnecessary Silverlight code) and Watson (always true) checks.
For issues #11769 and #8844.
Diffstat (limited to 'src/inc/clrconfigvalues.h')
-rw-r--r-- | src/inc/clrconfigvalues.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inc/clrconfigvalues.h b/src/inc/clrconfigvalues.h index 8d883245ae..6180894441 100644 --- a/src/inc/clrconfigvalues.h +++ b/src/inc/clrconfigvalues.h @@ -190,7 +190,8 @@ CONFIG_DWORD_INFO_EX(INTERNAL_D__FCE, W("D::FCE"), 0, "allows an assert when cra // // Debugger // -CONFIG_DWORD_INFO_EX(INTERNAL_DbgBreakIfLocksUnavailable, W("DbgBreakIfLocksUnavailable"), 0, "allows an assert when the debugger can't take a lock ", CLRConfig::REGUTIL_default) +RETAIL_CONFIG_DWORD_INFO_EX(EXTERNAL_EnableDiagnostics, W("EnableDiagnostics"), 1, "allows the debugger and profiler diagnostics to be disabled", CLRConfig::REGUTIL_default) +CONFIG_DWORD_INFO_EX(INTERNAL_DbgBreakIfLocksUnavailable, W("DbgBreakIfLocksUnavailable"), 0, "allows an assert when the debugger can't take a lock", CLRConfig::REGUTIL_default) CONFIG_DWORD_INFO_EX(INTERNAL_DbgBreakOnErr, W("DbgBreakOnErr"), 0, "allows an assert when we get a failing hresult", CLRConfig::REGUTIL_default) CONFIG_DWORD_INFO_EX(INTERNAL_DbgBreakOnMapPatchToDJI, W("DbgBreakOnMapPatchToDJI"), 0, "allows an assert when mapping a patch to an address", CLRConfig::REGUTIL_default) CONFIG_DWORD_INFO_EX(INTERNAL_DbgBreakOnRawInt3, W("DbgBreakOnRawInt3"), 0, "allows an assert for test coverage for debug break or other int3 breaks", CLRConfig::REGUTIL_default) |