Skip to content
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

[bug]: Cannot load asm file twice in a row (reproducible) #544

Open
1 of 2 tasks
maueroats opened this issue Dec 26, 2024 · 2 comments
Open
1 of 2 tasks

[bug]: Cannot load asm file twice in a row (reproducible) #544

maueroats opened this issue Dec 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@maueroats
Copy link

Tool

Assembler

Interface

Website (https://nand2tetris.github.io/web-ide)

Contact Details

subscribed to github issue

What happened?

  1. Go to https://nand2tetris.github.io/web-ide/cpu.
  2. ROM -> Pick folder -> Select local file and upload a file (in my case, BasicTest.bin). Observation: success, file picker is closed and the ROM is loaded with the program from the file.
  3. Repeat the same action. Observation: failure, file picker remains open on "Choose a file".

Variations on the theme:

  • Clearing the ROM (using the red CL button) after step 2 does not cause success in step 3.
  • Reloading the page returns it to a state where step 2 succeeds (but not the repeat in step 3).
  • Opening the test script first (7/BasicTest/BasicTest.tst) and then the file: file still opens the first time, but that clears the test script (unexpected). The file does not open the second time.

Additional Comments

Browser: Linux - Ubuntu 24.04 - using Chromium Version 131.0.6778.85 (Official Build) snap (64-bit)

WebIDE: Version 2024.49.1

This bug is a problem because when you are trying to debug a local assembler run, the ideal workflow would be: load test script -> repeatedly load assembly code.

Do you want to try to fix this bug?

  • I want to try to add this feature!

Code of Conduct

  • I agree to follow this project's Code of Conduct
@maueroats maueroats added the bug Something isn't working label Dec 26, 2024
@maueroats
Copy link
Author

The same behavior occurs in Opera 115.0.5322.119 on the same OS.

@maueroats
Copy link
Author

Can be reproduced with Chromium and Opera on a locally running build, Version 2024.52.0 commit hash cd2963f.

Note: Firefox does not exhibit this bug.

Is this related to #545 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant