-
Notifications
You must be signed in to change notification settings - Fork 29
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]: Stack overflow with simple code #526
Comments
Note that the following code, does not produce a stack overflow for me:
The only local variable just keeps on increasing. However, the |
I'll test this in the older local compiler to see if the problem persists once I have the time. |
The message "Maximum call stack size exceeded" is shown when the text cursor is past the end of the screen. I don't really know why the error occurs, because the "Output" class should just reset the row to zero, when it does a newline in the last row. |
…ing println in last row move check for last screen row from printChar to println, so the check runs on every newline command
I created a PR for the error message. The Sys.wait instruction will be fixed with PR #528.
|
Yes, you need to wait until my PRs #529 and #528 are merged into this repo. I'm just a random guy that contributes to this project, but I can't update this repo directly. One of the maintainers needs to review and approve my changes and merge my pull requests, so that they become active on the website. |
I appreciate your help! Thanks a lot :) |
I see that you released a new version recently but I still get an old IDE version in my browser: |
Could you paste the headers for the index.html request? https://developer.chrome.com/blog/copy-the-response-of-a-network-resource-to-your-clipboard |
Tool
Jack Compiler
Interface
Website (https://nand2tetris.github.io/web-ide)
Contact Details
No response
What happened?
I'm compiling and running this code:
I have two issues with it.
First, the Sys.wait(10000) instruction does not wait the expected time.
Second, the code eventually reaches a stack overflow.
See:
Additional Comments
No response
Do you want to try to fix this bug?
Code of Conduct
The text was updated successfully, but these errors were encountered: