# HG changeset patch # User Hasan Yavuz Ă–ZDERYA # Date 2017-02-22 10:22:37 # Node ID c1bf9f78ee5505f2968af80030651214b1d2fddf # Parent ff9d8ead5100da08e958c653618b7920c757c156 print problematic line in case of reading error diff --git a/src/asciireader.cpp b/src/asciireader.cpp --- a/src/asciireader.cpp +++ b/src/asciireader.cpp @@ -139,6 +139,7 @@ void AsciiReader::onDataReady() { numReadChannels = separatedValues.length(); qWarning() << "Incoming data is missing data for some channels!"; + qWarning() << "Read line: " << line; } // parse read line @@ -150,6 +151,7 @@ void AsciiReader::onDataReady() if (!ok) { qWarning() << "Data parsing error for channel: " << ci; + qWarning() << "Read line: " << line; channelSamples[ci] = 0; } }