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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login