Hi. Have you tried the latest version of the Web IDE?
The issue may be if you have a very big function, every new line causes Espruino to scan over the whole function to date in order to see if it should execute the line or should just continue reading - that causes a delay, and sometimes causes the PC to 'give up' sending data to Espruino.
A change around 1-2 weeks ago in the Web IDE made the Web IDE do the execution check for each newline, and so takes some of the load off of Espruino itself.
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.
Hi. Have you tried the latest version of the Web IDE?
The issue may be if you have a very big function, every new line causes Espruino to scan over the whole function to date in order to see if it should execute the line or should just continue reading - that causes a delay, and sometimes causes the PC to 'give up' sending data to Espruino.
A change around 1-2 weeks ago in the Web IDE made the Web IDE do the execution check for each newline, and so takes some of the load off of Espruino itself.