From 05aa22a35cfd5c71b84d2e23f159542ac39b4ec2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=9D=B4=ED=98=95=EC=A3=BC/MDE=20Lab=28SR=29/=EC=82=BC?= =?utf8?q?=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Thu, 20 Jun 2024 10:49:10 +0900 Subject: [PATCH] [Tizen] Introduce EnableDebugger Config (#537) * Introduce EnableDebugger Config * Change the default value --- src/coreclr/debug/ee/debugger.cpp | 2 +- src/coreclr/inc/clrconfigvalues.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/coreclr/debug/ee/debugger.cpp b/src/coreclr/debug/ee/debugger.cpp index 136105f..51311c9 100644 --- a/src/coreclr/debug/ee/debugger.cpp +++ b/src/coreclr/debug/ee/debugger.cpp @@ -1910,7 +1910,7 @@ HRESULT Debugger::Startup(void) // Allows the debugger (and profiler) diagnostics to be disabled so resources like // the named pipes and semaphores are not created. - if (CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_EnableDiagnostics) == 0) + if (CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_EnableDebugger) == 0) { return S_OK; } diff --git a/src/coreclr/inc/clrconfigvalues.h b/src/coreclr/inc/clrconfigvalues.h index 0fc3634..023ae65 100644 --- a/src/coreclr/inc/clrconfigvalues.h +++ b/src/coreclr/inc/clrconfigvalues.h @@ -161,7 +161,8 @@ CONFIG_DWORD_INFO(INTERNAL_BreakOnUncaughtException, W("BreakOnUncaughtException /// /// Debugger /// -RETAIL_CONFIG_DWORD_INFO(EXTERNAL_EnableDiagnostics, W("EnableDiagnostics"), 1, "Allows the debugger, profiler, and EventPipe diagnostics to be disabled") +RETAIL_CONFIG_DWORD_INFO(EXTERNAL_EnableDiagnostics, W("EnableDiagnostics"), 1, "Allows the profiler, and EventPipe diagnostics to be disabled") +RETAIL_CONFIG_DWORD_INFO(EXTERNAL_EnableDebugger, W("EnableDebugger"), 1, "Allows the debugger to be disabled") CONFIG_DWORD_INFO(INTERNAL_D__FCE, W("D::FCE"), 0, "Allows an assert when crawling the managed stack for an exception handler") CONFIG_DWORD_INFO(INTERNAL_DbgBreakIfLocksUnavailable, W("DbgBreakIfLocksUnavailable"), 0, "Allows an assert when the debugger can't take a lock ") CONFIG_DWORD_INFO(INTERNAL_DbgBreakOnErr, W("DbgBreakOnErr"), 0, "Allows an assert when we get a failing hresult") -- 2.7.4