diff options
Diffstat (limited to 'src/plugins/debugger/gdb/pythongdbengine.cpp')
-rw-r--r-- | src/plugins/debugger/gdb/pythongdbengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/gdb/pythongdbengine.cpp b/src/plugins/debugger/gdb/pythongdbengine.cpp index 81d5ca302b..e4e9a61a76 100644 --- a/src/plugins/debugger/gdb/pythongdbengine.cpp +++ b/src/plugins/debugger/gdb/pythongdbengine.cpp @@ -44,7 +44,7 @@ #include <utils/qtcassert.h> -#define PRECONDITION QTC_ASSERT(hasPython(), /**/) +#define PRECONDITION QTC_CHECK(hasPython()) #define CB(callback) &GdbEngine::callback, STRINGIFY(callback) @@ -200,7 +200,7 @@ void GdbEngine::updateAllPython() { PRECONDITION; //PENDING_DEBUG("UPDATING ALL\n"); - QTC_ASSERT(state() == InferiorUnrunnable || state() == InferiorStopOk, /**/); + QTC_CHECK(state() == InferiorUnrunnable || state() == InferiorStopOk); reloadModulesInternal(); postCommand("-stack-list-frames", CB(handleStackListFrames), QVariant::fromValue<StackCookie>(StackCookie(false, true))); |