aboutsummaryrefslogtreecommitdiffstats
path: root/debug_windows.py
diff options
context:
space:
mode:
Diffstat (limited to 'debug_windows.py')
-rw-r--r--debug_windows.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/debug_windows.py b/debug_windows.py
index 704228c1f..6815e2bee 100644
--- a/debug_windows.py
+++ b/debug_windows.py
@@ -200,6 +200,9 @@ def get_cdb_and_gflags_path(kits):
bits = 'x64' if (sys.maxsize > 2 ** 32) else 'x32'
debuggers_path = path.join(first_path_path, 'Debuggers', bits)
cdb_path = path.join(debuggers_path, 'cdb.exe')
+ if not path.exists(cdb_path): # Try for older "Debugging Tools" packages
+ debuggers_path = "C:\\Program Files\\Debugging Tools for Windows (x64)"
+ cdb_path = path.join(debuggers_path, 'cdb.exe')
if not path.exists(cdb_path):
log.error("Couldn't find cdb.exe at: {}.".format(cdb_path))