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

update stack view #195

Open
kirinyaga opened this issue Jun 12, 2012 · 3 comments
Open

update stack view #195

kirinyaga opened this issue Jun 12, 2012 · 3 comments

Comments

@kirinyaga
Copy link

Content of stack is not updated after each step. As I extensively use the top of the stack to store temporary working variables, I have to click on the checkbox after every step to see the updated values.
Stack is also used to store local variables if your function needs to be reentrant, which is a good idea anyway.

@kierenj
Copy link
Owner

kierenj commented Jun 13, 2012

It should be updated after each step - it is for me. Can you try restarting Devkit and trying again? There is a bug where if you select 10khz mode with the vector display plugin loaded, things go very wrong from that point, which might explain it. Let me know? :)

@kirinyaga
Copy link
Author

To be clear : the stack is properly updated on push, pop & jsr. It is not however (confirmed on three win7 installs, including one vm) with this code :
set x, 4
set a, 7
set push, x
shr peek, 1 ; <= stack view not updated
mul x, a
add x, pop ; x=ax x/2

@kirinyaga
Copy link
Author

yeah, I read my first message again : it was not clear at all, sorry. The problem is when you change the content of already pushed values (that is the temporary working variables or non-static function local variables).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants