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

Debugging skips line after entering an if #7

Open
YindSoft opened this issue Jun 24, 2019 · 5 comments
Open

Debugging skips line after entering an if #7

YindSoft opened this issue Jun 24, 2019 · 5 comments

Comments

@YindSoft
Copy link
Contributor

YindSoft commented Jun 24, 2019

Doing some testing I notice the following. If you debug this code line by line. After entering the if and executing x++; it will jump to x=0; executing the print("x"); but not stopping with the debugger to that line.

`x = 1;

x++;

if (x > 1) {
x++;
}

print("x");

x=0;
`

Here is a demostration:
https://gyazo.com/c2b55dab06b1008283e4558a72d8a685

@vassilych
Copy link
Owner

Thanks for the report. Will try to fix it soon.

@YindSoft
Copy link
Contributor Author

YindSoft commented Jul 5, 2019

Hi, could replicate this error in your PC?

@vassilych
Copy link
Owner

Hi, unfortunately I haven't had time, but this is in my priority queue and will do this soon.
Thanks for the addition of foreach for strings! Nice feature! Do you have a private e-mail so that we can communicate directly?

@YindSoft
Copy link
Contributor Author

YindSoft commented Jul 8, 2019

Yes, is yindsoft at gmail.

@vassilych
Copy link
Owner

Hi, I think I fixed it! The problem was in the Debugger.cs and Interpreter.cs files, not in the VS Code extension itself (even though it does have some problems as well which will be addressed soon).

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

No branches or pull requests

2 participants