@Gordon - might it make sense to not retain console.log() output if the console is set to USB, it's plugged into a computer, but the computer isn't "connected" to the serial port, and the buffer is full? Or is there a use case in which the current behavior is desirable? I can't see any use cases where this is anything other than a trap for the user...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@Gordon - might it make sense to not retain console.log() output if the console is set to USB, it's plugged into a computer, but the computer isn't "connected" to the serial port, and the buffer is full? Or is there a use case in which the current behavior is desirable? I can't see any use cases where this is anything other than a trap for the user...