You don't say which hardware you are using. Are you using a hardware UART or a software serial port? And, are you sure that the missing text is being sent in the first place?
Oh, sorry. ESP32 connected via USB2Serial. The port /dev/ttyUSB0, which is also used for uploading, is used for printing. Just the overall default for Serial.print.
The missing text is sent. If anything is sent at all, then at least Check[ms:Status] must also have been sent, and that is always missing, unless the full text is sent.
I have now run the very same code on Ar2.0beta7, and on Ar1.8.13.
On 2.0 Serial Monitor does swallow lines as shown above. On 1.8.13 not a single line got lost watching over several hundred of those printout candidates.
Is there any way I can track was goes into the monitor and what not?
If the port baud in the Monitor and Arduino is the same, then the Monitor prints everything that Arduino sends.
If the monitor does not print, then Arduino is not sending.
Do you need the sketch to work or do you need Arduino 2.0 beta?
The missing line problem seems to be even weirder than thought. As said, it happens ONLY on Ar2.0beta7, and not on Ar1.8.13. Both using ESP Core 1.0.6.
Also, it ONLY happens when I have activated Tools --> Core Debug Level with a level sufficient that Debug messages are printed.
Debug level logs are the only ones the WiFiGeneric lib gives out. See initial post for example. I can't tell if this problem exists also for other levels.
But under these conditions missing lines happen in about 80%(!) of all cases.
But I notice an odd discrepancy. In this forum thread we have the statement:
it happens ONLY on Ar2.0beta7, and not on Ar1.8.13
But on GitHub:
Running the exact same code on Arduino 1.8.13 reveals that the bug is already present in this older version:
The latter indicated to me that the cause was in the ESP32 core library or toolchain code, even though the Serial Monitor output was where the symptom was visible, it was not actually related to the Arduino IDE Serial Monitor code.