diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2011-09-30 17:54:19 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2011-10-04 16:00:30 +0200 |
commit | cb7e185332886c4160cc568fd0e6f85e5733701a (patch) | |
tree | 2a77ba768d0536f5c9e938a6f9540eea82603616 /src/plugins | |
parent | 732334a0b884d5dad63faada0bdfd4dda9ca708d (diff) | |
download | qt-creator-cb7e185332886c4160cc568fd0e6f85e5733701a.tar.gz |
QmlDebugger: Use QTC_CHECK where appropriate
Change-Id: Ide9ee35677a49c52788042df9fedffb4cf90f857
Reviewed-on: http://codereview.qt-project.org/5898
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/debugger/qml/qscriptdebuggerclient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/qml/qscriptdebuggerclient.cpp b/src/plugins/debugger/qml/qscriptdebuggerclient.cpp index 6c3a5f913b..c7b64cc36b 100644 --- a/src/plugins/debugger/qml/qscriptdebuggerclient.cpp +++ b/src/plugins/debugger/qml/qscriptdebuggerclient.cpp @@ -197,7 +197,7 @@ void QScriptDebuggerClient::startSession() //Set all breakpoints BreakHandler *handler = d->engine->breakHandler(); foreach (BreakpointModelId id, handler->engineBreakpointIds(d->engine)) { - QTC_ASSERT(handler->state(id) == BreakpointInsertProceeding,/**/); + QTC_CHECK(handler->state(id) == BreakpointInsertProceeding); handler->notifyBreakpointInsertOk(id); } } @@ -416,7 +416,7 @@ void QScriptDebuggerClient::messageReceived(const QByteArray &data) QString processedFilename = handler->fileName(id); if (processedFilename == file && handler->lineNumber(id) == line) { - QTC_ASSERT(handler->state(id) == BreakpointInserted,/**/); + QTC_CHECK(handler->state(id) == BreakpointInserted); BreakpointResponse br = handler->response(id); br.fileName = file; br.lineNumber = line; |