diff options
author | David Karlaš <david.karlas@xamarin.com> | 2016-12-28 17:10:15 +0300 |
---|---|---|
committer | David Karlaš <david.karlas@xamarin.com> | 2016-12-28 17:11:02 +0300 |
commit | 7996debb67d4bba0cda6905444e075f2c71d5970 (patch) | |
tree | b0cd927dc36fc4d6fffc48a89cfb758861b5a968 /mcs/class/Mono.Debugger.Soft | |
parent | f997a6e0de836c3ec9f8a34bca2dc31b1760e5be (diff) |
Bug 44974 - [pdb] stepping over is not working
mcs.exe didn’t emit some NOPs after method calls needed when doing StepOut, now that Roslyn emits this we correctly step out to line that called hence, some unit tests needed correcting
Diffstat (limited to 'mcs/class/Mono.Debugger.Soft')
-rw-r--r-- | mcs/class/Mono.Debugger.Soft/Test/dtest.cs | 10 |
1 files changed, 9 insertions, 1 deletions
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) |