Skip to content

Commit f2398be

Browse files
committed
NRE fix in GetTypeName()
(cherry picked from commit 1c08af3)
1 parent e3ed11b commit f2398be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mono.Debugging.Win32/CorObjectAdaptor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public override string GetTypeName (EvaluationContext ctx, object gtype)
154154
}
155155
catch (Exception ex) {
156156
DebuggerLoggingService.LogError ("Exception in GetTypeName()", ex);
157-
return t.FullName;
157+
return "[Unknown type]";
158158
}
159159
}
160160

0 commit comments

Comments
 (0)