forked from qt-creator/qt-creator
Debugger: Expand target mapping only when required
Store the unexpanded string in settings and expand on execution. Change-Id: Ib3160a548b7501b22d120629a6376e2252df32e5 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
04f8c0946f
commit
2df4667620
@@ -263,7 +263,8 @@ void LldbEngine::setupEngine()
|
||||
for (auto it = sourcePathMap.constBegin(), cend = sourcePathMap.constEnd();
|
||||
it != cend;
|
||||
++it) {
|
||||
executeDebuggerCommand("settings append target.source-map " + it.key() + ' ' + it.value());
|
||||
executeDebuggerCommand(
|
||||
"settings append target.source-map " + it.key() + ' ' + expand(it.value()));
|
||||
}
|
||||
|
||||
DebuggerCommand cmd2("setupInferior");
|
||||
|
||||
Reference in New Issue
Block a user