Fix debugger cursor jumping on some Morley instructions
Description
Steps to reproduce
- Open
verbose-typecheck/letblock.mtzin the debugger. - Set the parameter to
Unit. - Set the storage to
Unit. - Start the debugger.
- Press "Step Over" four times. The debugger will execute
addnext. - Press "Step Over" one time. The debugger jumps to the definition of
addwithout stopping at the beginning of theaddinstruction in thecodeblock. - Press "Step over" one time. The cursor should return to the
codeblock at the beginning of thestacktypeinstruction, but instead goes to the definition of thestkRest.
Expected behaviour
- The cursor doesn't ignore
stacktype. - Before executing the definition of
add, and the definition ofstkRest, the cursor should stop at the beginning of each of these instructions.
Actual behaviour
- The cursor ignores
stacktype. - The cursor jumps directly to the definitions of
addandstkRest.