Commit 15c7e5b3 authored by hjk's avatar hjk
Browse files

debugger: read the user init file after the python dumpers

parent 73229006
...@@ -4070,6 +4070,8 @@ bool GdbEngine::startGdb(const QStringList &args, const QString &gdb, const QStr ...@@ -4070,6 +4070,8 @@ bool GdbEngine::startGdb(const QStringList &args, const QString &gdb, const QStr
"dyld \".*CarbonDataFormatters.*\" all"); "dyld \".*CarbonDataFormatters.*\" all");
} }
loadPythonDumpers();
QString scriptFileName = theDebuggerStringSetting(GdbScriptFile); QString scriptFileName = theDebuggerStringSetting(GdbScriptFile);
if (!scriptFileName.isEmpty()) { if (!scriptFileName.isEmpty()) {
if (QFileInfo(scriptFileName).isReadable()) { if (QFileInfo(scriptFileName).isReadable()) {
...@@ -4083,7 +4085,7 @@ bool GdbEngine::startGdb(const QStringList &args, const QString &gdb, const QStr ...@@ -4083,7 +4085,7 @@ bool GdbEngine::startGdb(const QStringList &args, const QString &gdb, const QStr
).arg(scriptFileName)); ).arg(scriptFileName));
} }
} }
loadPythonDumpers();
return true; return true;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment