diff --git a/src/plugins/debugger/gdbengine.cpp b/src/plugins/debugger/gdbengine.cpp index 1706b09b6e215d6dfa6a262bbd8aac99d5bd332d..3adcface13e3627747f12ec866c1a38b2a510485 100644 --- a/src/plugins/debugger/gdbengine.cpp +++ b/src/plugins/debugger/gdbengine.cpp @@ -3304,7 +3304,7 @@ void GdbEngine::handleDebuggingHelperValue2(const GdbResultRecord &record, QByteArray out = output.data(); int markerPos = out.indexOf('"') + 1; // position of 'success marker' - if (markerPos == -1 || out.at(markerPos) == 'f') { // 't' or 'f' + if (markerPos == 0 || out.at(markerPos) == 'f') { // 't' or 'f' // custom dumper produced no output data.setError(strNotInScope); insertData(data);