I have a question, where I really got stuck: Since my code grows in size, I'm encountering more and more often that the serial output is stuck telling me calculating size... and does not move on any bit.
The whole console output is as follows:
Does anyone know why it gets stuck there? My code is compacted the size of roughly 40kb. I'm compacting using the online closure compiler.
I have 4 precompiled functions using the Espruino compilation service.
Thanks for your reply. I'm currently using the latest travis build (lv96.35)
Please can you try running require('Storage').eraseAll() and then try sending again?
It could be related to recent changes in the way code is stored (that allow you to save extra information as well as code). It shouldn't cause problems, but it's possible there is a bug in there somewhere.
If that does fix it, and you encounter this again, would you be happy to send me a copy of the code that causes the issue (and possibly a dump of the saved code area which I can send you some code for) so I can track the issue down and fix it here?
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem