View on GitHub

EspruinoMemView

Display the contents of an Espruino device's RAM as a Network

Espruino Memory Viewer

This tool allows you to connect to an Espruino/Bangle.js device via Web Bluetooth and then display the contents of RAM as a Network.

It’s a good way to look into your code and see if there’s anything obviously using memory that shouldn’t be.

To use it:

After initially connecting, you might want to do something on your device that is causing memory usage to increase, and then click the Diff button. This will scan all memory again and will make all variables that were previously allocated grey (note that if variables have moved around, it is possible that new variables will be turned grey instead).