Skip to content
Snippets Groups Projects
Commit 3b64a6cc authored by hjk's avatar hjk
Browse files

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

parent c234c7cf
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment