Hi.

Look at AST-Interpreter project which includes AST-Debugger
http://smalltalkhub.com/#!/~Pharo/AST-Interpreter. Code is so simple
comparing to "bytecode simulation" approach of current debugger.
AST debugger are independent from bytecode set. It just visit AST-nodes to
simulate code execution.

But current debugger simulates bytecode. It depends on current bytecode
set. There are few kinds of BytecodeEncoders. To understand how current
debugger is working you need to know many VM details.

So my question is why our debuggers are not based on AST interpreter? Why
it is bad idea? (if it is bad).


Best regards,
Denis

Reply via email to