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

[BUGFIX] Debugger variable indexing of "Input Tokens" is wrong #312

Merged
merged 3 commits into from
Oct 24, 2024

Conversation

HerrMotz
Copy link
Contributor

When running the debugger, the variable indexing of the "Input Tokens" section starts at VarRef.Tokens (see AntlrDebugAdapter.ts:406). This leads to an infinite recursion. I propose the changes of this PR as a fix.

ANTLR bug input token demonstration

@mike-lischke
Copy link
Owner

@HerrMotz Can you please sign your commits?

Signed-off-by: Daniel Motz <[email protected]>
Signed-off-by: Daniel Motz <[email protected]>
Signed-off-by: Daniel Motz <[email protected]>
@mike-lischke mike-lischke merged commit c12fea6 into mike-lischke:master Oct 24, 2024
3 checks passed
@mike-lischke
Copy link
Owner

Thanks @HerrMotz

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

Successfully merging this pull request may close these issues.

2 participants