How to pause a custom built interpreter while debugging?
0
1
I am developing a new custom programming language to perform some computations on numbers and display the results in a particular format. For this purpose, I am using Antlr4 for Lexical Analysis and Parsing, and am developing this in Java. I have been able to "execute" the program by overriding the visitor methods generated by Antlr4. I am now trying to add debugging functionality, and am trying to pause the execution upon hitting a breakpoint and then resume. Apart from this, I also need to support Step Through, Step In, Step Out, and Resume. Could someone please throw some light on how to accomplish this?
java debugging antlr antlr4 interpreter
share | improve this question
...