Skip to content

Commit

Permalink
Make debugger potentially work for arm64 Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
xusheng6 committed May 28, 2024
1 parent 0901c37 commit 7e623ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/adapters/dbgengadapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7e623ef

Please sign in to comment.