forked from qt-creator/qt-creator
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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user