Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorJeffrey Stedfast <jestedfa@microsoft.com>2019-11-21 21:08:35 +0300
committerGitHub <noreply@github.com>2019-11-21 21:08:35 +0300
commit8b74440b8b469bec4a30b31cc735013bd61dc8a3 (patch)
tree7b1a2117efc4c96c875fb2bdf25f4483f68854af /main
parent713322638ef5e705098e2366f384d3b0ba4e9a6f (diff)
parentf05e6bf704996455059129029292d7d6e5fc9a66 (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.cs2
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;
}