Commit fdf39819 authored by hjk's avatar hjk
Browse files

Debugger: More verbose test output in case of failure



Change-Id: I41d9b634be850bfbc666c1a929b0f82b7f741069
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 5e7a27db
......@@ -1147,7 +1147,10 @@ void tst_Dumpers::dumper()
QByteArray contents;
if (m_debuggerEngine == GdbEngine) {
int posDataStart = output.indexOf("data=");
QVERIFY(posDataStart != -1);
if (posDataStart == -1) {
qDebug() << "NO \"data=\" IN OUTPUT: " << output;
QVERIFY(posDataStart != -1);
}
contents = output.mid(posDataStart);
contents.replace("\\\"", "\"");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment