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

Commit

Permalink
Merge pull request #9359 from mono/jstedfast-debugger-dont-evaluate-n…
Browse files Browse the repository at this point in the history
…ull-expressions

[Debugger] Don't evaluate null expressions in the tooltip logic
  • Loading branch information
sgmunn authored Nov 21, 2019
2 parents d34f94a + 2df0fb1 commit a50f147
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public async Task<QuickInfoItem> GetQuickInfoItemAsync (IAsyncQuickInfoSession s
debugInfo = await debugInfoProvider.Value.GetDebugInfoAsync (point, cancellationToken);
}

if (!debugInfo.IsDefault) {
if (!debugInfo.IsDefault && debugInfo.Text != null) {
await EvaluateAndShowTooltipAsync (session, view, point, debugInfo, cancellationToken);
return null;
}
Expand Down

0 comments on commit a50f147

Please sign in to comment.