microsoft / microsoft/pxt-microbit
simulator show data button never goes away even if i remove the logging from my program
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 804
- Forks
- 721
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 2
Description
If i create a program that logs data (serial or data logger) and I then remove that code, the button to show the data will still be there even after the simulator restarts. It should disappear if the program is no longer logging data after a restart.
I don't think this is a recent regression, because I think it also happens in arcade
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the micro:bit simulator by logging data, removing the logging code, and restarting. Trace how the simulator's show-data button state is retained across restart, then verify that the button disappears when the restarted program no longer logs data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100