The existing LineNumberTable and LocalVariableTable data structures will be used. A few lookup routines are yet to be written.
Proposal:
Possible problems:
A single variable assigned in more than one place, which gives rise to several different variables in the SSA form and the register allocator allocates a different register to these copies. Then finding the value of a local variable at runtime requires us to figure out exactly what register the variable is in, at that point in time.
Proposed Solution:
See section Finding the values of local variables
A debugger object will be implemented and shall be used to hold the state of the debugger, including the set of breakpoints set and the active/passive ones.
See section Finding the values of local variables
See section Finding the values of local variables