Comments (8)
As a temporary workaround, you can increase the timeout length; see https://stackoverflow.com/q/787334/111794.
AFAICT with a large tree, the visualizer processes the entire tree, even when the user can only see a fraction of the tree at once. The solution would be to only process part of the tree, and be able to request other parts on demand.
from antlr4parsetreevisualizer.
@zspitz I tried. It doesn't works. I'm using Visual Studio 2019.
from antlr4parsetreevisualizer.
The configuration may be stored in a different place in VS 2019 -- https://stackoverflow.com/questions/41119996/where-does-visual-studio-2017-store-its-config?noredirect=1&lq=1 .
from antlr4parsetreevisualizer.
[VS2019] In my case I have a fairly sample grammar and I've seen the error the first time I've tried visualizer on an string. And the error persisted until I restarted VS. Now it works fine.
from antlr4parsetreevisualizer.
@MihaMarkic Do you think you could attach the grammar and string to this issue?
@doggy8088 I assume this isn't what you're seeing; you're seeing the same error multiple times, even after having restarted VS. Could you attach a grammar and sample string?
from antlr4parsetreevisualizer.
@zspitz My original grammar quality is pretty low. After rewriting my grammar, all performance issue has been resolved.
from antlr4parsetreevisualizer.
@zspitz It was really a simple one taken from tutorial, I think. It most probably isn't important in this case. I've overwritten it since I posted. But if I see the same error again, I'll post the grammar here.
from antlr4parsetreevisualizer.
@doggy8088 @MihaMarkic Thanks to you both for reporting and interacting on this issue. It's still a relevant problem, when there's a large parse tree. But I'm going to hold off on this for now, because fixing it is a significant architectural change.
from antlr4parsetreevisualizer.
Related Issues (20)
- Navigate to parent node via properties datagrid
- Include VS 2017 debuggers DLL as third-party reference HOT 2
- Consider using the annotater to add nullable-reference attributes to reference assemblies
- Simplify CI build
- Could not load this custom viewer HOT 6
- The visualizer tool doesn't work - VS 2017 Enterprise HOT 7
- Change modal message box about unloadable assemblies on the debuggee side, to something non-modal HOT 3
- Dialog size too large HOT 2
- Use Periscope HOT 2
- Allow choice of language when rendering property values
- Determine lexer/token list from tokens HOT 1
- Update wiki/README docs HOT 1
- Wiki: solution structure
- Reintegrate tests projects HOT 1
- Expose dependency properties on the controls HOT 1
- Exception from HRESULT: 0x80131515 HOT 3
- Update for VS2022? HOT 1
- Visualizer is not listing parsers and lexers
- Cannot find my own lexer and parser HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antlr4parsetreevisualizer.