Need some help with debugging
-
I´m using the version 2.0.3 for UI Flow and the firmware on my Atom S3 Lite. I´ve now an little bit complex part of script designed with the graphical interface. If I now send this to my Atom I get random errors for syntax. But if I send the same code several times I get random line references and also running the code without issues.
How can I now make sure, that my code is correct and starts every time? Which lines of code are mentioned because sometimes the reference is an empty line of code.
-
The joys of debugging Micropython. The errors aren’t always random. The secret is to count the actual line of code and ignore the empty lines
-
I will try the "ignore empty lines" method.
It feels random because of .. first try line 162, second try line 198, third try line 67 and finally it´s working without an issue .. and I don´t change anything in the meantime.