'debugger' called from the right-hand side of IDE panel? #6413
Replies: 1 comment
-
Posted at 2021-03-15 by Robin Sun 2021.03.14 It is likely that there is a small amount of delay during the upload that Espruino requires to unpack and manage memory, and the debugger becomes initialized after the testDebugger() function call. By placing a small delay within your snippet, it is possible to launch immediately after the upload is complete.
Result:
Posted at 2021-03-15 by @gfwilliams Hi! I think this might be because you're uploading to RAM: http://www.espruino.com/Saving Basically, when you upload to RAM, code is executed as it is uploaded. If you have a As @robin says, if you execute the code after a delay with something like Posted at 2021-03-15 by AndreyVS Great, many thanks, it works! ) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2021-03-14 by AndreyVS
Hi Everyone,
Trying to debug using debugger. But if I run the function from the right-hand IDE side, it does nothing. While if testDebugger() is called then from the left-hand IDE side, it works. Can I make it working in both cases? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions