We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d8741b commit 0bd15f0Copy full SHA for 0bd15f0
External/Plugins/FlashDebugger/Controls/DataTree/VariableNode.cs
@@ -19,7 +19,7 @@ public override string Value
19
}
20
set
21
{
22
- if (m_Value == null)
+ if (m_Variable == null)
23
return;
24
25
var flashInterface = PluginMain.debugManager.FlashInterface;
@@ -39,8 +39,16 @@ public Variable Variable
39
if (m_Variable == value) return;
40
41
m_Variable = value;
42
- m_Value = m_Variable.getValue();
43
- Text = m_Variable.getName();
+ if (m_Variable != null)
+ {
44
+ m_Value = m_Variable.getValue();
45
+ Text = m_Variable.getName();
46
+ }
47
+ else
48
49
+ m_Value = null;
50
+ Text = "";
51
52
53
54
0 commit comments