Debugger hangs on infinite loops
Description
Despite we aimed at working debugger even in case of infinite execution, currently I can easily make the execution hang.
Steps to reproduce
Try to start debugging the following contract and click "Continue" button
parameter int;
storage unit;
code { CAR;
LEFT unit;
LOOP_LEFT { PUSH int 1;
SWAP;
SUB;
DUP;
DIP { PUSH int 0 };
COMPARE;
GE;
IF { LEFT unit }
{ DROP;
PUSH
(or int unit)
(Right Unit) } };
NIL operation;
PAIR };
Passing 100000 as the parameter.
Expected behaviour
The execution either falls into an "infinite" loop staying responsive to interrupts, or aborts.
Actual behaviour
The execution hangs, remaining irresponsive to other actions, including termination.
Environment
-
34d75c88d06159732202aaeabf8763620951b12d
(master)
Edited by Konstantin Ivanov