Ok, thanks - if it's 2v09 then I would have hoped you wouldn't have seen problems, however I guess it is possible that there are cases where you have recursion and a function being executed doesn't get its pointer updated.
If you were able to come up with a really cut-down bit of example code that demonstrated the problem then that would really help me to track it down/fix it.
Until then, to rule out Storage, please could you:
Remove any files from Bangle.js's storage that your program code removes or modifies
Write your program code
Run require("Storage").compact() on the left-hand side of the IDE
Now run your app and/or upload other files you need
So now, even if Storage does get compacted, the files containing your code won't get moved around. If that actually fixes the problem for you I guess it's a workaround for now, but it'll also help me to figure out where I need to focus my efforts
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.
Ok, thanks - if it's 2v09 then I would have hoped you wouldn't have seen problems, however I guess it is possible that there are cases where you have recursion and a function being executed doesn't get its pointer updated.
If you were able to come up with a really cut-down bit of example code that demonstrated the problem then that would really help me to track it down/fix it.
Until then, to rule out Storage, please could you:
require("Storage").compact()
on the left-hand side of the IDESo now, even if Storage does get compacted, the files containing your code won't get moved around. If that actually fixes the problem for you I guess it's a workaround for now, but it'll also help me to figure out where I need to focus my efforts