Tracking down WARNING: Expecting a number or something iterable, got undefined #549
Unanswered
espruino-discuss
asked this question in
JavaScript
Replies: 2 comments
-
Posted at 2016-03-31 by @gfwilliams To be honest it could be anything - most likely is SPI/I2C write, or I guess realistically this should be an exception, and then you'd get a stack trace out of it. I'll see how easy it'd be to change. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Posted at 2016-03-31 by @gfwilliams Ok, just changed this - so if you try and up to date build it should now fail with a stack trace pointing you to the error |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-03-31 by DrAzzy
What things can generate this error?
Is there any way that I can find out what line this is ocurring on? I have this coming up in my animation code seemingly at random, and I can't seem to figure out what is failing and returning undefined.
Beta Was this translation helpful? Give feedback.
All reactions