tunnelvisionlabs/JavaForVS

Statement stepping does not stop at `break` statements

Opened this issue · 0 comments

Originally posted at tunnelvisionlabs/LangSvcV2#19.

The break statement in bytecode appears as a goto instruction with a stack depth of 0. Currently the algorithm for statement stepping silently follows goto instructions without stopping. This should be updated to not follow the goto instruction when the target of the jump does not fall on the same line as the goto instruction itself.