Commit 9ca0e509 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by hjk

Debugger: Set symbol file on dialog-started debugging

Like Attach to Running Server

Change-Id: If8b5a8ed367edb82c50eb0e4b5c07a5aaf76396e
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
parent 90e107c8
...@@ -354,6 +354,9 @@ void DebuggerRunControlCreator::enrich(const RunConfiguration *runConfig, const ...@@ -354,6 +354,9 @@ void DebuggerRunControlCreator::enrich(const RunConfiguration *runConfig, const
m_rp.inferior.executable = p.exe; m_rp.inferior.executable = p.exe;
} }
if (m_rp.symbolFile.isEmpty())
m_rp.symbolFile = m_rp.inferior.executable;
if (m_runConfig) { if (m_runConfig) {
if (auto envAspect = m_runConfig->extraAspect<EnvironmentAspect>()) { if (auto envAspect = m_runConfig->extraAspect<EnvironmentAspect>()) {
m_rp.inferior.environment = envAspect->environment(); // Correct. m_rp.inferior.environment = envAspect->environment(); // Correct.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment