forked from qt-creator/qt-creator
Debugger: Use a FilePathAspect for extra dumpers
Change-Id: Ideb779cc5ef0d679667b635efe8c1a2859c6e608 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -228,10 +228,10 @@ void LldbEngine::handleLldbStarted()
|
||||
if (!commands.isEmpty())
|
||||
executeCommand(commands);
|
||||
|
||||
const QString path = debuggerSettings()->extraDumperFile.value();
|
||||
if (!path.isEmpty() && QFileInfo(path).isReadable()) {
|
||||
const FilePath path = debuggerSettings()->extraDumperFile();
|
||||
if (!path.isEmpty() && path.isReadableFile()) {
|
||||
DebuggerCommand cmd("addDumperModule");
|
||||
cmd.arg("path", path);
|
||||
cmd.arg("path", path.path());
|
||||
runCommand(cmd);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user