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:
authorGreg Munn <greg.munn@xamarin.com>2019-07-10 18:07:50 +0300
committermonojenkins <jo.shields+jenkins@xamarin.com>2019-07-16 14:46:39 +0300
commit6071bf90830ae8fee47362fc18b7047901ae0674 (patch)
tree3f671708175889770cd22be464c03d1ddd48acb2 /main
parent357ddd538db4d99b365efa0705349b0e6f2f64ac (diff)
[debugger] Use store instead of Model
A bit of a long shot, but it should/could fix the NRE here. We fixed one possible NRE with DisplayValue but we see the same error since that fix. The offset is +0 so I'm thinking that it's early in the method and the only thing I can think of here is that Get_Model is not returning the store from Gtk. We can use store here in its place since they are (or should be) the same object. Fixes VSTS 849589 https://devdiv.visualstudio.com/DevDiv/_workitems/edit/849589
Diffstat (limited to 'main')
-rw-r--r--main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ObjectValueTreeView.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ObjectValueTreeView.cs b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ObjectValueTreeView.cs
index 1a54b30564..d0eea4577f 100644
--- a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ObjectValueTreeView.cs
+++ b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ObjectValueTreeView.cs
@@ -1670,7 +1670,7 @@ namespace MonoDevelop.Debugger
bool ValidObjectForPreviewIcon (TreeIter it)
{
- var obj = Model.GetValue (it, ObjectColumn) as ObjectValue;
+ var obj = store.GetValue (it, ObjectColumn) as ObjectValue;
if (obj == null) {
return false;
} else {