From 3b125493d5d7b59c7afe1503c418c39a4044a8bf Mon Sep 17 00:00:00 2001 From: Igor Kulaychuk Date: Thu, 1 Feb 2018 16:15:48 +0300 Subject: [PATCH] Always enable stopAtEntry when launching through MI protocol --- src/debug/netcoredbg/miprotocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug/netcoredbg/miprotocol.cpp b/src/debug/netcoredbg/miprotocol.cpp index 0e2ef74..a290260 100644 --- a/src/debug/netcoredbg/miprotocol.cpp +++ b/src/debug/netcoredbg/miprotocol.cpp @@ -750,7 +750,7 @@ HRESULT MIProtocol::HandleCommand(std::string command, { "exec-run", [this](const std::vector &args, std::string &output) -> HRESULT { HRESULT Status; m_debugger->Initialize(); - IfFailRet(m_debugger->Launch(m_fileExec, m_execArgs)); + IfFailRet(m_debugger->Launch(m_fileExec, m_execArgs, true)); Status = m_debugger->ConfigurationDone(); if (SUCCEEDED(Status)) output = "^running"; -- 2.7.4