Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Commit 2df0fb1

Browse files
committed
[Debugger] Don't evaluate null expressions in the tooltip logic
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1020556
1 parent e130443 commit 2df0fb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.VSTextView/QuickInfo/DebuggerQuickInfoSource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public async Task<QuickInfoItem> GetQuickInfoItemAsync (IAsyncQuickInfoSession s
110110
debugInfo = await debugInfoProvider.Value.GetDebugInfoAsync (point, cancellationToken);
111111
}
112112

113-
if (!debugInfo.IsDefault) {
113+
if (!debugInfo.IsDefault && debugInfo.Text != null) {
114114
await EvaluateAndShowTooltipAsync (session, view, point, debugInfo, cancellationToken);
115115
return null;
116116
}

0 commit comments

Comments
 (0)