Theremingenieur
Senior Member+
We all agree on the fact that the serial.println debug method isn't optimal. But it works and is often used. There is just one thing which bothers me when I need to use it:
1) I write/edit my code for the Teensy 3.1 in Teensyduino.
2) I compile the code in Teensyduino and start the upload
3) The upload/reboot waits or hangs sometimes until I use cmd-TAB (on the Mac) to bring the teensy loader in the foreground (that's annoying, but not the big problem)
4) In order to see the serial output, I have to switch back to Teensyduino (another cmd-TAB) before I can press Shift-cmd-M to open the serial monitor
I can naturally insert a delay(5000) in my code to have enough time to open the serial monitor, but...
Wouldn't it be a good idea to implement a permanent listener (on the selected serial port) in Teensyduino which automatically opens the serial monitor (and/or brings it to the foreground) as soon as serial data arrives? With that, there would be no more need for a delay() in the setup part of the sketch and many keystrokes to catch the debug output, but as soon as there was some output, the serial monitor would automatically pop up. And, if everything goes well, it would remain closed.
Am I the only one who would like that feature?
1) I write/edit my code for the Teensy 3.1 in Teensyduino.
2) I compile the code in Teensyduino and start the upload
3) The upload/reboot waits or hangs sometimes until I use cmd-TAB (on the Mac) to bring the teensy loader in the foreground (that's annoying, but not the big problem)
4) In order to see the serial output, I have to switch back to Teensyduino (another cmd-TAB) before I can press Shift-cmd-M to open the serial monitor
I can naturally insert a delay(5000) in my code to have enough time to open the serial monitor, but...
Wouldn't it be a good idea to implement a permanent listener (on the selected serial port) in Teensyduino which automatically opens the serial monitor (and/or brings it to the foreground) as soon as serial data arrives? With that, there would be no more need for a delay() in the setup part of the sketch and many keystrokes to catch the debug output, but as soon as there was some output, the serial monitor would automatically pop up. And, if everything goes well, it would remain closed.
Am I the only one who would like that feature?