File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
External/Plugins/FlashDebugger Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -523,7 +523,7 @@ private void UpdateLocalsUI()
523
523
Variable thisValue = m_FlashInterface . GetThis ( m_CurrentFrame ) ;
524
524
Variable [ ] args = m_FlashInterface . GetArgs ( m_CurrentFrame ) ;
525
525
Variable [ ] locals = m_FlashInterface . GetLocals ( m_CurrentFrame ) ;
526
- PanelsHelper . localsUI . TreeControl . SaveState ( ) ;
526
+ if ( PanelsHelper . localsUI . TreeControl . Nodes . Count > 0 ) PanelsHelper . localsUI . TreeControl . SaveState ( ) ;
527
527
PanelsHelper . localsUI . Clear ( ) ;
528
528
if ( thisValue != null )
529
529
{
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ public void UpdateMenuState(object sender, DebuggerState state)
267
267
CurrentButton . Enabled = CurrentMenu . Enabled = RunToCursorButton . Enabled = enabled ;
268
268
NextButton . Enabled = NextMenu . Enabled = FinishButton . Enabled = FinishMenu . Enabled = enabled ;
269
269
RunToCursorMenu . Enabled = StepButton . Enabled = StepMenu . Enabled = enabled ;
270
- if ( state == DebuggerState . Running )
270
+ if ( state == DebuggerState . Running && ! PluginMain . debugManager . FlashInterface . isDebuggerSuspended )
271
271
{
272
272
PanelsHelper . localsUI . TreeControl . Nodes . Clear ( ) ;
273
273
PanelsHelper . stackframeUI . ClearItem ( ) ;
You can’t perform that action at this time.
0 commit comments