Skip to content

Commit

Permalink
fix stepInto
Browse files Browse the repository at this point in the history
  • Loading branch information
Hecate2 committed Jul 21, 2023
1 parent ce7cbf0 commit fe917fb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Fairy.Debugger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,7 @@ private FairyEngine ExecuteAndCheck(FairyEngine engine, out BreakReason actualBr
{
engine.ExecuteNext();
if (currentInstruction.OpCode == OpCode.INITSLOT)
engine.ExecuteNext();
else
return engine;
engine.ExecuteNext(); // Stopping at INITSLOT makes no good
engine.State = VMState.BREAK;
actualBreakReason |= BreakReason.Call;
return engine;
Expand Down

0 comments on commit fe917fb

Please sign in to comment.