Serial Monitor stops printing output #2618
Labels
status: waiting for information
More information must be provided before work can proceed
topic: code
Related to content of the project itself
topic: serial monitor
Related to the Serial Monitor
type: imperfection
Perceived defect in any part of project
Describe the problem
The serial monitor output works for anything in the setup() subroutine. The serial monitor stops working for anything in loop().
This problem started after I upgraded from Ubuntu 18.04 to Ubuntu 20.04 LTS.
I am doing a complicated operation set using a NeoKey 1x4 and I need to see that the buttons are registering callbacks correctly. I would start the program. If I immediately hit one of the keys, it would output for some time. If I pause for even a tiny bit, the serial monitor freezes. If I navigate to a web browser or something, the serial monitor freezes. I can un-freeze it temporarily by randomly changing the baud rate from the drop-down menu. Any change at all, to anything at all, unfreezes the monitor, but again, only temporarily.
To reproduce
🐛 Nothing is being printed anymore.
You will see that the printouts are appearing again.
🐛 The serial monitor will freeze again.
Expected behavior
Serial Monitor does not freeze.
Arduino IDE version
2.3.2 and 2.3.4
Operating system
Linux
Operating system version
Ubuntu 20.04 LTS
Additional context
Discussion: https://forum.arduino.cc/t/arduino-ide-and-ubuntu-20-04-serial-monitor-problems/1345265
The fault does not occur when I use Serial Monitor on my Intel MacBook Pro.
Issue checklist
The text was updated successfully, but these errors were encountered: