Skip to content

Commit 1ed52e6

Browse files
committed
Proper logging.
1 parent 52992a0 commit 1ed52e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Mono.Debugging.Win32/CorObjectAdaptor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public override string GetTypeName (EvaluationContext ctx, object gtype)
153153
return type.GetTypeInfo (cctx.Session).FullName;
154154
}
155155
catch (Exception ex) {
156-
ctx.WriteDebuggerError (ex);
156+
DebuggerLoggingService.LogError ("Exception in GetTypeName()", ex);
157157
return t.FullName;
158158
}
159159
}
@@ -1702,7 +1702,7 @@ protected override TypeDisplayData OnGetTypeDisplayData (EvaluationContext ctx,
17021702
}
17031703
}
17041704
} catch (Exception ex) {
1705-
ctx.WriteDebuggerError (ex);
1705+
DebuggerLoggingService.LogError ("Exception in OnGetTypeDisplayData()", ex);
17061706
}
17071707
if (hasTypeData)
17081708
return new TypeDisplayData (proxyType, valueDisplayString, typeDisplayString, nameDisplayString, isCompilerGenerated, memberData);

0 commit comments

Comments
 (0)