Skip to content

Instantly share code, notes, and snippets.

--- a/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerSession.cs
+++ b/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerSession.cs
@@ -365,7 +365,6 @@ namespace Mono.Debugging.Soft
//Mono < 2.6.3 doesn't support catching unhandled exceptions
}
- OnStarted ();
started = true;
/* Wait for the VMStart event */
diff --git a/main/src/core/Mono.Debugging/Mono.Debugging.Client/StackFrame.cs b/main/src/core/Mono.Debugging/Mo
index 59a9828..d69ecf8 100644
--- a/main/src/core/Mono.Debugging/Mono.Debugging.Client/StackFrame.cs
+++ b/main/src/core/Mono.Debugging/Mono.Debugging.Client/StackFrame.cs
@@ -158,7 +158,8 @@ namespace Mono.Debugging.Client
if (!hasDebugInfo)
return null;
ObjectValue value = sourceBacktrace.GetThisReference (index, options);
- ObjectValue.ConnectCallbacks (this, value);
+ if (value != null)
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'System.Collections.Generic.Dictionary<Mono.Debugging.Client.ObjectValue,Gtk.TreeIter>.Do_CopyTo'.
at System.Collections.Generic.List`1[Mono.Debugging.Client.ObjectValue]..ctor (IEnumerable`1 collection) [0x0005e] in /work/asgard/mono/mcs/class/corlib/System.Collections.Generic/List.cs:67
at MonoDevelop.Debugger.ObjectValueTreeView.Refresh () [0x00000] in /work/asgard/monodevelop/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ObjectValueTreeView.cs:446
at MonoDevelop.Debugger.ObjectValueTreeView.set_AllowEditing (Boolean value) [0x00007] in /work/asgard/monodevelop/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ObjectValueTreeView.cs:334
at MonoDevelop.Debugger.ObjectValuePad..ctor () [0x00067] in /work/asgard/monode
asgard@gondor:monodevelop$ monodevelop
WARNING: [MonoDevelop.Debugger.Soft,2.4] Could not load some add-in assemblies: Could not find file "/work/asgard/INSTALL/lib/monodevelop/AddIns/MonoDevelop.Debugger.Soft/Mono.Debugger.Soft.dll".
ERROR: Errors found in add-in '/work/asgard/INSTALL/lib/monodevelop/AddIns/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft.dll:
ERROR: The file '/work/asgard/INSTALL/lib/monodevelop/AddIns/MonoDevelop.Debugger.Soft/Mono.Debugger.Soft.dll' referenced in the manifest could not be found.
diff --git a/mono/mini/method-to-ir.c b/mono/mini/method-to-ir.c
index d021c6d..25e1e65 100644
--- a/mono/mini/method-to-ir.c
+++ b/mono/mini/method-to-ir.c
@@ -5674,10 +5674,12 @@ mono_method_to_ir (MonoCompile *cfg, MonoMethod *method, MonoBasicBlock *start_b
if (clause->flags == MONO_EXCEPTION_CLAUSE_FINALLY ||
clause->flags == MONO_EXCEPTION_CLAUSE_FILTER ||
clause->flags == MONO_EXCEPTION_CLAUSE_FAULT) {
+#if 0
if (seq_points) {
I/ActivityManager( 59): Starting activity: Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=martin.test/martintest.MyActivity }
D/AndroidRuntime( 905): Shutting down VM
D/jdwp ( 905): adbd disconnected
I/AndroidRuntime( 905): NOTE: attach of thread 'Binder Thread #3' failed
I/ActivityManager( 59): Start proc martin.test for activity martin.test/martintest.MyActivity: pid=912 uid=10038 gids={3003}
I/ActivityThread( 912): Publishing provider martin.test.__mono_init__: mono.MonoRuntimeProvider
D/dalvikvm( 912): Trying to load lib /data/data/martin.test/lib/libmonodroid.so 0x43e37870
D/dalvikvm( 912): Added shared lib /data/data/martin.test/lib/libmonodroid.so 0x43e37870
I/MonoDroid-Debugger( 912): Trying to initialize the debugger with options: --debugger-agent=transport=dt_socket,address=10.0.2.2:2000,embedding=1,loglevel=0
I/MonoDroid( 912): CREATE DOMAIN
internal static void Initialize (IntPtr envptr, IntPtr loader)
{
Logger.Log (LogLevel.Info, "MonoDroid", "JNIEnv.Initialize #1");
var tmp = String.Format ("Test");
Logger.Log (LogLevel.Info, "MonoDroid", "JNIEnv.Initialize #1a");
Logger.Log (LogLevel.Info, "MonoDroid", "JNIEnv.Initialize TEST 0");
internal static void Initialize (IntPtr envptr, IntPtr loader)
{
Logger.Log (LogLevel.Info, "MonoDroid", "JNIEnv.Initialize #1");
for (int i = 0; i < 10; i++) {
Logger.Log (LogLevel.Info, "MonoDroid", "JNIEnv.Initialize #1a");
}
Logger.Log (LogLevel.Info, "MonoDroid", String.Format ("JNIEnv.Initialize: {0:x} {1:x}",
envptr.ToInt32 (), loader.ToInt32 ()));
Logger.Log (LogLevel.Info, "MonoDroid", "JNIEnv.Initialize #2");
In mgmain JNI_OnLoad
[0xafd48828] Thread started, obj=0x48239f18, tls=0x250360.
[0xafd48828] Suspended.
[0xafd48828] Resumed.
[0x2532d0] Thread started, obj=0x48239e60, tls=0x259198.
[0x2532d0] Suspended.
[0x2532d0] Resumed.
[0xafd48828] Suspending vm...
[0xafd48828] Interrupting 0x2532d0...
[0xafd48828] Sent event VM_START, suspend=2.
make[8]: Entering directory `/work/catron/mono/mcs/class/System.ServiceModel.Web'
MCS [monodroid] System.ServiceModel.Web.dll
Assembly/AssemblyInfo.cs(54,12): warning CS1699: Use compiler option `delaysign' or appropriate project settings instead of `AssemblyDelaySign' attribute
Assembly/AssemblyInfo.cs(57,12): warning CS1699: Use compiler option `keyfile' or appropriate project settings instead of `AssemblyKeyFile' attribute
Assembly/AssemblyInfo.cs(38,29): error CS0433: The imported type `Consts' is defined multiple times
/work/catron/mono/mcs/class/lib/monodroid/System.Xml.dll (Location of the symbol related to previous error)
/work/catron/mono/mcs/class/lib/monodroid/System.ServiceModel.dll (Location of the symbol related to previous error)
error CS0281: Friend access was granted to `System.ServiceModel.Web, PublicKeyToken=31bf3856ad364e35', but the output assembly is named `System.ServiceModel.Web, Version=0.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'. Try adding a reference to `System.S