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

Tracing and debugging #24

Open
justinmchase opened this issue Nov 12, 2022 · 0 comments
Open

Tracing and debugging #24

justinmchase opened this issue Nov 12, 2022 · 0 comments
Milestone

Comments

@justinmchase
Copy link
Owner

justinmchase commented Nov 12, 2022

  • Trace data needs to be optionally emitted during compilation
  • It should trace the full path and match results of every pattern throughout the entire operation
  • It should be possible for a tool to render the trace in a matter which a user could consume at a high level of what happened as well as to step through the parse and see what happened one step at a time.
  • Which pattern operation, rule name, grow operation and path location needs to be stored in the trace

Tools

  • The CLI should allow trace data to be emitted
  • The Deploy should allow trace data to be emitted
  • The VSCode extension should support displaying trace results, ala regexr UI.

Not yet in-scope

Supporting step by step debugging seems like a stretch for now. Its obviously desirable but I think some further research would be needed to know how to implement it.

@justinmchase justinmchase added this to the MVP milestone Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant