From 7e623efc065882f21fd6f4ecfcd45c3d56379e61 Mon Sep 17 00:00:00 2001 From: Xusheng Date: Tue, 28 May 2024 15:18:27 +0800 Subject: [PATCH] Make debugger potentially work for arm64 Windows --- core/adapters/dbgengadapter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/adapters/dbgengadapter.cpp b/core/adapters/dbgengadapter.cpp index b5705df..c48fc14 100644 --- a/core/adapters/dbgengadapter.cpp +++ b/core/adapters/dbgengadapter.cpp @@ -274,7 +274,7 @@ bool DbgEngAdapter::Start() { auto pipeName = GenerateRandomPipeName(); auto connectString = fmt::format("npipe:pipe={},Server=localhost", pipeName); - auto arch = m_defaultArchitecture == "x86_64" ? "amd64" : "x86"; + auto arch = m_defaultArchitecture == "x86" ? "x86" : "amd64"; auto enginePath = GetDbgEngPath(arch); if (enginePath.empty()) return false;