I don't know if the following is a bug or just some unfortunate side effects or an unchecked checkbox somewhere...
I was trying check out how Xamarin.Android (4.8.00013) is handling exceptions when I am running my code in Android simulator. (VS 2012 version: 11.0.60610.01).
An exception results in an empty "An unhandled exception occurred"
dialog. There's no chance to open the exception and read the message, or check inner exception. Not the wet dream of a UX designer...
Which is not that bad if the call stack can be checked (simple case: exception thrown from a non-static method from a non-static class), and pressing break shows the line where the exception would be thrown.
Now throw exception in a static method:
the stack does not contain your static method
you are left with a blank pop up ("Something bad has happened" - OK, then I try to do "Unsomething"...)
A) If you press break you are thrown to an other dialog, saying "You must check disassembly window if you are trying to figure it out"
checking disassembly window: it's blank...
If you press Continue, it will result in the following dialog:
"Loading..." will never finish. It's probably a bug.
What can I do to find out what line has thrown the exception in the static case?