Debugger: Expand Variables in Debugging Helper Customization

Fixes: QTCREATORBUG-26261
Change-Id: Ie034e3b170bad2ccd4aaa4c004c8eeeebeeaff87
Reviewed-by: Karsten Sperling Opdal <karsten.s.opdal@gmail.com>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
hjk
2021-09-14 13:49:11 +02:00
parent 86825283ed
commit 6c4c310278

View File

@@ -4000,7 +4000,7 @@ void GdbEngine::setupEngine()
runCommand(cmd); runCommand(cmd);
} }
const QString commands = debuggerSettings()->extraDumperCommands.value(); const QString commands = expand(debuggerSettings()->extraDumperCommands.value());
if (!commands.isEmpty()) if (!commands.isEmpty())
runCommand({commands}); runCommand({commands});