dylan-hackers / mindy

Mindy - minimal compiler-interpreter for Dylan
Other
21 stars 9 forks source link

`step` command in debugger does not work properly #38

Open dram opened 8 years ago

dram commented 8 years ago

When working through examples in document "The Mindy Debugger", I encountered a problem that step does not work properly in section Interrupting and Single Stepping.

After using Ctrl-C to interrupt program, if I run step command, it will go to loop infinitely again. If I put a print() statement before if clause, step works properly.

waywardmonkeys commented 8 years ago

Is this because of the signal handling being off?

dram commented 8 years ago

I have turned on MINDY_USE_SIGNALS explicitly.

Before signal handling is turned on, Ctrl-C will kill the process directly instead of drop into debugger.