Debugger: Set symbol file on dialog-started debugging

Like Attach to Running Server

Change-Id: If8b5a8ed367edb82c50eb0e4b5c07a5aaf76396e
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2016-05-02 19:51:09 +03:00
committed by hjk
parent 90e107c882
commit 9ca0e50959

View File

@@ -354,6 +354,9 @@ void DebuggerRunControlCreator::enrich(const RunConfiguration *runConfig, const
m_rp.inferior.executable = p.exe;
}
if (m_rp.symbolFile.isEmpty())
m_rp.symbolFile = m_rp.inferior.executable;
if (m_runConfig) {
if (auto envAspect = m_runConfig->extraAspect<EnvironmentAspect>()) {
m_rp.inferior.environment = envAspect->environment(); // Correct.