forked from qt-creator/qt-creator
Debugger: Expand macros in "Additional Startup Commands"
Fixes: QTCREATORBUG-26382 Change-Id: I43cc2ac9451dbb44bcc12ed8555535fb8b4e437e Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1891,7 +1891,7 @@ QString DebuggerEngine::nativeStartupCommands() const
|
|||||||
return !trimmed.isEmpty() && !trimmed.startsWith('#');
|
return !trimmed.isEmpty() && !trimmed.startsWith('#');
|
||||||
});
|
});
|
||||||
|
|
||||||
return lines.join('\n');
|
return expand(lines.join('\n'));
|
||||||
}
|
}
|
||||||
|
|
||||||
Perspective *DebuggerEngine::perspective() const
|
Perspective *DebuggerEngine::perspective() const
|
||||||
|
|||||||
Reference in New Issue
Block a user