Commit 3b64a6cc authored by hjk's avatar hjk

debugger: skip "release build" check if objdump could not be started

parent c234c7cf
......@@ -127,7 +127,11 @@ void LocalPlainGdbAdapter::checkForReleaseBuild()
args.append(startParameters().executable);
proc.start(_("objdump"), args);
proc.closeWriteChannel();
QTC_ASSERT(proc.waitForStarted(), qDebug() << "UNABLE TO RUN OBJDUMP");
if (!proc.waitForStarted()) {
showMessage(_("OBJDUMP PROCESS COULD NOT BE STARTED. "
"RELEASE BUILD CHECK WILL FAIL"));
return;
}
proc.waitForFinished();
QByteArray ba = proc.readAllStandardOutput();
// This should yield something like
......
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