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

Commit a50f147

Browse files
authored
Merge pull request #9359 from mono/jstedfast-debugger-dont-evaluate-null-expressions
[Debugger] Don't evaluate null expressions in the tooltip logic
2 parents d34f94a + 2df0fb1 commit a50f147

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)