Hi,

this morning VS 2010 notified me of an update for mono for android, and i
installed it. Since then VS keeps crashing. More precisely:
- When i debug on device, VS crashes as soon as an IndexOutOfRangeException
is thrown. I tested the following snippet on 3 devices (Samsung Galaxy SII
i9100g, Samsung Galaxy S, HTC Desire S). When I test on an emulator, the
debugger silently closes the connection, and the app crashes.

Snippet:

using System;
using Android.App;
using Android.OS;

namespace Testprojekt
{
[Activity(Label = "Testprojekt", MainLauncher = true)]
public class TestActivity : Activity
{
protected override void OnCreate(Bundle bundle)
{
throw (new IndexOutOfRangeException());
}
}
}

I'm using:

MS Win 7 Enterprise
6.1.7601  SP1 build 7601
MS Visual Studio 2010 Premium:
10.0.40219.1 SP1Rel
MS .NET Framework
4.0.30319 SP1Rel
Mono for Android 4.0.6

Devices:

Samsung Galaxy SII i9100g (Android 2.3.6)
Samsung Galaxy S  (Android 2.3.3)
HTC Desire S (didn't check version, borrowed)

Can anyone reproduce or (better) tell me a solution for that problem?

Thank you

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/VS-2010-with-Mono-for-Android-crashes-on-debugging-tp5620230p5620230.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to