Commit 04514ed4 authored by hjk's avatar hjk

debugger: reorganize starting from the command line

parent 32f6dd53
This diff is collapsed.
......@@ -79,7 +79,8 @@ public:
QString executable;
QString displayName;
QString displayName; // Used in the Snapshots view.
QString startMessage; // First status message shown.
QString coreFile;
bool isSnapshot; // Set if created internally.
QString processArgs;
......@@ -276,8 +276,8 @@ bool startCreatorAsDebugger(bool asClient, QString *errorMessage)
// Send to running Creator: Unstable with directly linked CDB engine.
if (asClient)
args << QLatin1String("-client");
args << QLatin1String("-debug") << QString::number(argProcessId)
<< QLatin1String("-wincrashevent") << QString::number(argWinCrashEvent);
args << QLatin1String("-wincrashevent")
<< QString::fromLatin1("%1:%2").arg(argWinCrashEvent).arg(argProcessId);
if (debug)
qDebug() << binary << args;
QProcess p;
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