Skip to content

Evaluation expression in debugger #279

Answered by lemmy
nano-o asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately, SANY lacks incremental parsing, preventing the debugger from supporting ad-hoc (debug) expressions at runtime. While it would be possible to hack something into SANY/TLC, I found adding predefined expressions as "Watch" expressions a good-enough workaround. Any constant-, state-, and action-level formula can be added as a "Watch". The screenshot below shows the TraceLog, TraceAccepted, TraceAlias, and TraceView expressions evaluated as "Watch" expressions.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by nano-o
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@lemmy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants