-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New program runs over the last one after reset #90
Comments
Thanks. Really easily seen with a program like this: from microbit import *
import random
r = random.randrange(0, 100)
while True:
print(r)
sleep(1000) I'll look at this soon. We might temporarily revert #88 if it looks non-trivial to fix. |
I've reverted #88 and released it as 0.1.7. Confirmed fixed in the micro:bit Python Editor V3 with the program in my comment above. I'll look again at #86 soon. Thanks for reporting @JoshuaLowe1002 |
For info, there's a new attempt at fixing #86 without introducing this issue on #91 that we'll be testing today. You can try it out at |
When a reset event is sent to the simulator, it seems a new program is running over the last one from before the reset. Can be seen best when a message is scrolling on the display, my best guess is that this is related to the changes made in #88.
Example from the Python Editor:
Screen.Recording.2022-11-01.at.16.13.21.mov
The text was updated successfully, but these errors were encountered: