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

Visual parse tree not showing for version 2.4.5 #242

Closed
sumesh107 opened this issue Feb 9, 2024 · 5 comments
Closed

Visual parse tree not showing for version 2.4.5 #242

sumesh107 opened this issue Feb 9, 2024 · 5 comments
Assignees
Labels
possible bug Could be a bug

Comments

@sumesh107
Copy link

I have been using the 'ANTLR4 View' vscode extension for the past 1 month in my Ubuntu 22.04. When debugging the grammar I had been using the parse tree visualizer, it used to show me the parse tree while debugging.

But since the upgrade to version 2.4.5 and a follow-up reload I realised my parse tree stopped visualizing. But when I returned to the previous version it's been working fine. I am unsure if upgrading the dependency caused a bug or if I am missing something.

@mike-lischke
Copy link
Owner

This might be related to this VS Code issue. I see many of these "invalid debug adapter" messages in the VS Code dev console, when running vscode-antlr4 as normal extension. However, when debugging the extension then debugging in it works nicely.

@mike-lischke
Copy link
Owner

No, seems to be a packaging issue. I see that D3.js is not defined

@mike-lischke mike-lischke self-assigned this Feb 9, 2024
@mike-lischke mike-lischke added the possible bug Could be a bug label Feb 9, 2024
@satabol
Copy link

satabol commented Feb 9, 2024

I have the same problem. Windows 11, vscode 1.86.0, antlr-vscode plugin version 2.4.5.
If I try work just with vscode then I do not see anything on "Show ANTLR graph for rule":

ANTLR-BUG-242.v001.mp4

if I try start antlr-vscode in debug mode then I see anything:

ANTLR-BUG-242.v002.mp4

Also I have the same problem with "Show grammar call graph". It show nothing in ordinary vscode run and show "call graph" in debug mode. Also I update vscode to 1.86.1, disable all vscode plugins and restart vscode.

May be this can help too?

@satabol
Copy link

satabol commented Feb 10, 2024

It's now work good. Thank you.

@mike-lischke
Copy link
Owner

Thanks for your confirmation!

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

No branches or pull requests

3 participants