08-31-2021, 07:11 AM
(08-26-2021, 06:15 AM)Mpoint Wrote: import wasp
from gadgetbridge import *
from hrv import HRVApp
wasp.system.register(HRVApp())
wasp.system.schedule()
It freezes as I load the main.py displayed on the watch perhaps it at import HRVApp() because the app makes calls to other python library scripts that are too large to load
how do I debug this. I tried test_memory.py and not sure of to use it to test the memory
Don't load code from main.py until it is tested otherwise the error messages will be emitted before you connect to the console.
Instead use an unmodified main.py and run the import and register commands by typing them directly into the REPL.