[wasm][debugger] Fix `evaluateOnCallFrame` for valuetype locals (#35361)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Fri, 24 Apr 2020 07:47:09 +0000 (03:47 -0400)
committerGitHub <noreply@github.com>
Fri, 24 Apr 2020 07:47:09 +0000 (09:47 +0200)
.. including generic, and async methods. This fixes `hover` for valuetype locals.

Co-authored-by: radical <radical@users.noreply.github.com>
src/mono/mono/mini/mini-wasm-debugger.c

index 494c063..8861e2e 100644 (file)
@@ -859,7 +859,7 @@ static gboolean describe_value(MonoType * type, gpointer addr, gboolean expandVa
 
                                method = mono_get_delegate_invoke_internal (klass);
                                if (!method) {
-                                       DEBUG_PRINTF (1, "Could not get a method for the delegate for %s\n", class_name);
+                                       DEBUG_PRINTF (2, "Could not get a method for the delegate for %s\n", class_name);
                                        break;
                                }