From 20ac1c7e432a6a774a892050b165ee47d0e05db9 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 29 Apr 2019 12:47:00 +0200 Subject: debug_windows.py: Fall back to separate "Debugging Tools" packages "Debugging Tools" were once shipped as separate packages and might still be installed on older machines. Change-Id: Ice2cee4e9f995f6020502990bccf6f66721cb51e Reviewed-by: Alexandru Croitor --- debug_windows.py | 3 +++ 1 file changed, 3 insertions(+) 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)) -- cgit v1.2.3