diff options
author | Jeffrey Stedfast <jestedfa@microsoft.com> | 2019-11-21 21:08:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-21 21:08:35 +0300 |
commit | 8b74440b8b469bec4a30b31cc735013bd61dc8a3 (patch) | |
tree | 7b1a2117efc4c96c875fb2bdf25f4483f68854af /main | |
parent | 713322638ef5e705098e2366f384d3b0ba4e9a6f (diff) | |
parent | f05e6bf704996455059129029292d7d6e5fc9a66 (diff) |
Merge pull request #9360 from mono/backport-pr-9359-to-release-8.4
[release-8.4] [Debugger] Don't evaluate null expressions in the tooltip logic
Diffstat (limited to 'main')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.VSTextView/QuickInfo/DebuggerQuickInfoSource.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.VSTextView/QuickInfo/DebuggerQuickInfoSource.cs b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.VSTextView/QuickInfo/DebuggerQuickInfoSource.cs index a75f91f7aa..8835fe7e30 100644 --- a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.VSTextView/QuickInfo/DebuggerQuickInfoSource.cs +++ b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.VSTextView/QuickInfo/DebuggerQuickInfoSource.cs @@ -110,7 +110,7 @@ namespace MonoDevelop.Debugger.VSTextView.QuickInfo 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; } |