CTRL-T causes multiple steps sometimes
Brought to you by:
carlburch
After executing my circuit with CTRL-K and the stopping it with CTRL-K, subsequent attempts to single-step the circuit with CTRL-T cause multiple clock cycles instead of a single transition.
If I use CTRL-T before any CTRL-K operations, stepping behaves as expected. After using CTRL-K to start/stop, CTRL-T multi-steps.
Note that mouse-clicking on the CLOCK icon causes a single transition as expected, regardless of the behavior of CTRL-T.
An exit and reload of the circuit clears the problem until the next CTRL-K sequence.
Possibly a bug in the CTRL-K/CTRL-T handling?
Yes, I could duplicate this. But it seems to occur only when you've set the clock rate beyond 1 KHz. (Logisim deals with clock rates beyond 1KHz differently.) So my short-term fix is to set the clock at 512 Hz - which is probably faster than your circuit can run anyway.
Ok, a fix for this has been found. It should appear in version 2.6.1, which I hope to release in the next few days. In the meantime, again, just use a clock speed of 512 Hz - the bug has to do with clock speeds beyond 1 KHz, which is faster than Logisim simulates any medium-sized circuit anyway.
Thanks for the report.
Version 2.6.1 was just released, which includes a fix for this bug. Thanks for the report!