Always enable stopAtEntry when launching through MI protocol
authorIgor Kulaychuk <i.kulaychuk@samsung.com>
Thu, 1 Feb 2018 13:15:48 +0000 (16:15 +0300)
committerIgor Kulaychuk <i.kulaychuk@samsung.com>
Thu, 1 Feb 2018 13:15:48 +0000 (16:15 +0300)
src/debug/netcoredbg/miprotocol.cpp

index 0e2ef74..a290260 100644 (file)
@@ -750,7 +750,7 @@ HRESULT MIProtocol::HandleCommand(std::string command,
     { "exec-run", [this](const std::vector<std::string> &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";