From a5cf879b0cc2ff3aa1786c61395220a2955052c2 Mon Sep 17 00:00:00 2001 From: Sentinel209_cp <5b554accd9e292fcb886b205d8d4c32c5d52ce2df5Ng6vpx> Date: Sat, 16 Jul 2011 17:33:30 +0000 Subject: [PATCH] Fixed F10 stepping. --- source2/Compiler/Cosmos.Compiler.DebugStub/DebugStub.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source2/Compiler/Cosmos.Compiler.DebugStub/DebugStub.cs b/source2/Compiler/Cosmos.Compiler.DebugStub/DebugStub.cs index 5e173b76a..2264be6e5 100644 --- a/source2/Compiler/Cosmos.Compiler.DebugStub/DebugStub.cs +++ b/source2/Compiler/Cosmos.Compiler.DebugStub/DebugStub.cs @@ -492,7 +492,7 @@ namespace Cosmos.Compiler.DebugStub { JumpIf(Flags.NotEqual, "DebugStub_ExecutingStepOverAfter"); Label = "Debug__StepOver__"; EAX = Memory["DebugEBP", 32]; - EAX.Compare(Memory["DebugEBP", 32]); + EAX.Compare(Memory["DebugBreakEBP", 32]); // If EBP and start EBP arent equal, dont break // Dont use Equal because we aslo need to stop above if the user starts // the step at the end of a method and next item is after a return