File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
External/Plugins/FlashDebugger Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -92,11 +92,6 @@ public void Clear()
92
92
watchManager . ClearAll ( ) ;
93
93
}
94
94
95
- public void Lock ( )
96
- {
97
- treeControl . Enabled = false ;
98
- }
99
-
100
95
public void UpdateElements ( )
101
96
{
102
97
treeControl . Tree . BeginUpdate ( ) ;
@@ -118,7 +113,7 @@ private DataNode GetExpressionNode(string item)
118
113
DataNode node ;
119
114
try
120
115
{
121
- if ( ! PluginMain . debugManager . FlashInterface . isDebuggerStarted )
116
+ if ( ! PluginMain . debugManager . FlashInterface . isDebuggerStarted || ! PluginMain . debugManager . FlashInterface . isDebuggerSuspended )
122
117
{
123
118
return new ErrorNode ( item , new Exception ( "" ) ) ;
124
119
}
Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ public void UpdateMenuState(object sender, DebuggerState state)
272
272
{
273
273
PanelsHelper . localsUI . TreeControl . Nodes . Clear ( ) ;
274
274
PanelsHelper . stackframeUI . ClearItem ( ) ;
275
- PanelsHelper . watchUI . Lock ( ) ;
275
+ PanelsHelper . watchUI . UpdateElements ( ) ;
276
276
}
277
277
enabled = GetLanguageIsValid ( ) ;
278
278
ToggleBreakPointMenu . Enabled = ToggleBreakPointEnableMenu . Enabled = enabled ;
You can’t perform that action at this time.
0 commit comments