forked from qt-creator/qt-creator
New QTC_CHECK warning replacing QTC_ASSERT(x, /**/)
Warn if the condition fails, but otherwise don't change the execution flow. Change-Id: Id7b14c745109b66960add967b2a4ef8d31e1a546 Reviewed-on: http://codereview.qt.nokia.com/2389 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -107,7 +107,7 @@ void AbstractPlainGdbAdapter::handleExecRun(const GdbResponse &response)
|
||||
m_engine->postCommand("target record");
|
||||
} else {
|
||||
QString msg = fromLocalEncoding(response.data.findChild("msg").data());
|
||||
//QTC_ASSERT(status() == InferiorRunOk, /**/);
|
||||
//QTC_CHECK(status() == InferiorRunOk);
|
||||
//interruptInferior();
|
||||
showMessage(msg);
|
||||
m_engine->notifyEngineRunFailed();
|
||||
|
||||
Reference in New Issue
Block a user