summaryrefslogtreecommitdiff
path: root/src/ToolBox
diff options
context:
space:
mode:
authorMike McLaughlin <mikem@microsoft.com>2018-01-05 18:14:21 -0800
committerGitHub <noreply@github.com>2018-01-05 18:14:21 -0800
commit8b2cac974db3edde38e1a555455f53592d03b68e (patch)
tree6d12b48ec1d71436c1208c9ec119a4012a459876 /src/ToolBox
parent2c226c48f42438e0742ff9293fbfb4d5c7a1e864 (diff)
downloadcoreclr-8b2cac974db3edde38e1a555455f53592d03b68e.tar.gz
coreclr-8b2cac974db3edde38e1a555455f53592d03b68e.tar.bz2
coreclr-8b2cac974db3edde38e1a555455f53592d03b68e.zip
Change just-in-time debugging registry keys. (#15722)
From "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug" to "SOFTWARE\Microsoft\.NETCore\JITDebugging".
Diffstat (limited to 'src/ToolBox')
-rw-r--r--src/ToolBox/superpmi/superpmi/jitdebugger.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ToolBox/superpmi/superpmi/jitdebugger.cpp b/src/ToolBox/superpmi/superpmi/jitdebugger.cpp
index 80038647af..13e7db5a60 100644
--- a/src/ToolBox/superpmi/superpmi/jitdebugger.cpp
+++ b/src/ToolBox/superpmi/superpmi/jitdebugger.cpp
@@ -193,7 +193,7 @@ BOOL IsCurrentModuleFileNameInAutoExclusionList()
{
HKEY hKeyHolder;
- // Look for "HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AeDebug\\AutoExclusionList"
+ // Look for "HKLM\\SOFTWARE\\Microsoft\\.NETCore\\JITDebugging\\AutoExclusionList"
DWORD ret = WszRegOpenKeyEx(HKEY_LOCAL_MACHINE, kUnmanagedDebuggerAutoExclusionListKey, 0, KEY_READ, &hKeyHolder);
if (ret != ERROR_SUCCESS)
@@ -277,15 +277,15 @@ HRESULT GetDebuggerSettingInfoWorker(__out_ecount_part_opt(*pcchDebuggerString,
HKEY hKey;
- // Look for "HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AeDebug"
+ // Look for "HKLM\\SOFTWARE\\Microsoft\\.NETCore\\JITDebugging"
DWORD ret = WszRegOpenKeyEx(HKEY_LOCAL_MACHINE, kUnmanagedDebuggerKey, 0, KEY_READ, &hKey);
if (ret != ERROR_SUCCESS)
- { // Wow, there's not even an AeDebug hive, so no native debugger, no auto.
+ { // Wow, there's not even an JITDebugging hive, so no native debugger, no auto.
return S_OK;
}
- // Look in AeDebug key for "Debugger"; get the size of any value stored there.
+ // Look in JITDebugging key for "Debugger"; get the size of any value stored there.
DWORD valueType, valueSize;
ret = RegQueryValueExW(hKey, kUnmanagedDebuggerValue, 0, &valueType, 0, &valueSize);
@@ -337,7 +337,7 @@ HRESULT GetDebuggerSettingInfoWorker(__out_ecount_part_opt(*pcchDebuggerString,
}
else
{
- // Look in AeDebug key for "Auto"; get the size of any value stored there.
+ // Look in JITDebugging key for "Auto"; get the size of any value stored there.
ret = RegQueryValueExW(hKey, kUnmanagedDebuggerAutoValue, 0, &valueType, 0, &valueSize);
if ((ret == ERROR_SUCCESS) && (valueType == REG_SZ) && (valueSize / sizeof(WCHAR) < MAX_PATH))
{