From 7996debb67d4bba0cda6905444e075f2c71d5970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Karlas=CC=8C?= Date: Wed, 28 Dec 2016 15:10:15 +0100 Subject: =?UTF-8?q?Bug=2044974=20-=20[pdb]=20stepping=20over=20is=20not=20?= =?UTF-8?q?working=20mcs.exe=20didn=E2=80=99t=20emit=20some=20NOPs=20after?= =?UTF-8?q?=20method=20calls=20needed=20when=20doing=20StepOut,=20now=20th?= =?UTF-8?q?at=20Roslyn=20emits=20this=20we=20correctly=20step=20out=20to?= =?UTF-8?q?=20line=20that=20called=20hence,=20some=20unit=20tests=20needed?= =?UTF-8?q?=20correcting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mcs/class/Mono.Debugger.Soft/Test/dtest.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'mcs/class/Mono.Debugger.Soft') diff --git a/mcs/class/Mono.Debugger.Soft/Test/dtest.cs b/mcs/class/Mono.Debugger.Soft/Test/dtest.cs index 05896473e39..dbc13f065e6 100644 --- a/mcs/class/Mono.Debugger.Soft/Test/dtest.cs +++ b/mcs/class/Mono.Debugger.Soft/Test/dtest.cs @@ -608,7 +608,6 @@ public class DebuggerTests } [Test] - [Category ("NotWorking")] // https://bugzilla.xamarin.com/show_bug.cgi?id=44974 public void SingleStepping () { Event e = run_until ("single_stepping"); @@ -751,6 +750,14 @@ public class DebuggerTests e = step_over (); assert_location (e, "ss_nested"); e = step_into (); + assert_location (e, "ss_nested_2"); + e = step_into (); + assert_location (e, "ss_nested_2"); + e = step_into (); + assert_location (e, "ss_nested_2"); + e = step_into (); + assert_location (e, "ss_nested"); + e = step_into (); assert_location (e, "ss_nested_1"); e = step_into (); assert_location (e, "ss_nested_1"); @@ -819,6 +826,7 @@ public class DebuggerTests req.Size = StepSize.Line; e = step_out (); + e = step_over ();//Stepout gets us to ss_recursive2_trap ();, move to ss_recursive2 (next); line assert_location (e, "ss_recursive2"); // Stack should consist of Main + single_stepping + (1 ss_recursive2 frame per loop iteration) -- cgit v1.2.3