It still experiences crashes when there's no print command but is connected to Web IDE (print was the easiest for me to see in the browser, and to get readable messages). Using LEDs, but keeping it connected to the Web IDE, causes it to crash after a few repeated reads.
Immediate commands work in the left pane - but not after it's crashed. Once it's crashed, it either disconnects immediately, or the Web IDE doesn't realise it's already disconnected until I try to issue a command.
Your example with setTimeout doesn't cause the Web IDE to crash.
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.
It still experiences crashes when there's no
print
command but is connected to Web IDE (print
was the easiest for me to see in the browser, and to get readable messages). Using LEDs, but keeping it connected to the Web IDE, causes it to crash after a few repeated reads.Immediate commands work in the left pane - but not after it's crashed. Once it's crashed, it either disconnects immediately, or the Web IDE doesn't realise it's already disconnected until I try to issue a command.
Your example with
setTimeout
doesn't cause the Web IDE to crash.