I don't get the error either (I just get clk not defined on new builds). Any chance you could try and get a bit of code that will produce the error alone? It could be to do with what's in clk.
The error happens when Espruino tries to get the value of something as a C string and it's too big for the buffer (usually 32 chars or so) - it actually does that pretty rarely, but I think you might be able to get it to happen sometimes with a super-long field name.
If you could get a self-contained bit of code that reproduces the error, hopefully I can run it in a debugger here, track down what calls jsvGetString, and try and fix it.
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.
I don't get the error either (I just get
clk
not defined on new builds). Any chance you could try and get a bit of code that will produce the error alone? It could be to do with what's inclk
.The error happens when Espruino tries to get the value of something as a C string and it's too big for the buffer (usually 32 chars or so) - it actually does that pretty rarely, but I think you might be able to get it to happen sometimes with a super-long field name.
If you could get a self-contained bit of code that reproduces the error, hopefully I can run it in a debugger here, track down what calls jsvGetString, and try and fix it.