forked from qt-creator/qt-creator
Android: Treat "fatal" messages error output
If you trigger a fatal signal e.g. dividing by 0, you'll get a message with an "F/" prefix. That should be red, too, just like "E/" and "W/". Change-Id: I8bef7ebf4e8c7d7ac3794750306073043852634b Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -371,7 +371,8 @@ void AndroidRunner::logcatProcess(const QByteArray &text, QByteArray &buffer, bo
|
||||
if (line.endsWith('\r'))
|
||||
line.chop(1);
|
||||
line.append('\n');
|
||||
if (onlyError || line.startsWith("E/")
|
||||
if (onlyError || line.startsWith("F/")
|
||||
|| line.startsWith("E/")
|
||||
|| line.startsWith("D/Qt")
|
||||
|| line.startsWith("W/"))
|
||||
emit remoteErrorOutput(line);
|
||||
|
||||
Reference in New Issue
Block a user