Created attachment 4724 [details]
Video of the issue
Placing a breakpoint in a static constructor and stepping in or over instead steps out.
Ermau has identified this bug as 'Debilitating'. High priority for investigation.
This is still an issue in the latest 1.8 release. Most of the debugging issues were fixed. We get exactly the same behaviour in Xamarin Studio, so its probably related to the Soft Debugger.
This happens too in XS, can you help Dean figure out what's wrong here?
Fixed in mono master 1139f71dc206480111d35658a2fb4bace60bc05c.
I have checked this issue with following builds:
Xamarin Studio: 5.9 (build 431)
Installation UUID: b6495454-eed9-49ee-a97b-abf8a686d664
Microsoft .NET 4.0.30319.34003
GTK+ 2.24.22 (MS-Windows theme)
Xamarin.Android : 5.1.0 (Enterprise Edition)
Java SDK: C:\Program Files (x86)\Java\jdk1.7.0_71
java version "1.7.0_71"
=== Build Information ===
Release ID: 509000431
Git revision: 7560726734fc7267de2fa9abed2509968deefaa8
Build date: 2015-04-17 17:09:09-04
Xamarin addins: 2e772c734ab3148054eae7bf8949f340fdeb5e5e
Microsoft Visual Studio Professional 2012
Version 11.0.61030.00 Update 4
Microsoft .NET Framework
Installed Version: Professional
Xamarin 3.11.445.0 (5061f92)
Xamarin.Android 22.214.171.124 (d23da369e436488f38c8ab8fe8a9ae7d9ea5256b)
Xamarin.iOS 126.96.36.199 (7741cc495ab0baf04ff0405d0604bc27f0ecae2e)
Now, Step In and Step Over works fine in a static constructor.
Screencast ( with VS): http://www.screencast.com/t/OPfZRIW5u0
Screencast (with XS): http://www.screencast.com/t/HIJM1vM9w
This issues has been fixed. Hence, closing this issue.