Skip to content

Commit 39b029d

Browse files
committed
Merge pull request #600 from Neverbirth/debugging_fix
Fixed isDebuggerSuspended check
2 parents 957b8f2 + 17868e8 commit 39b029d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

External/Plugins/FlashDebugger/Helpers/MenusHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public void UpdateMenuState(object sender, DebuggerState state)
267267
CurrentButton.Enabled = CurrentMenu.Enabled = RunToCursorButton.Enabled = enabled;
268268
NextButton.Enabled = NextMenu.Enabled = FinishButton.Enabled = FinishMenu.Enabled = enabled;
269269
RunToCursorMenu.Enabled = StepButton.Enabled = StepMenu.Enabled = enabled;
270-
if (state == DebuggerState.Running && !PluginMain.debugManager.FlashInterface.isDebuggerSuspended)
270+
if (state == DebuggerState.Running && (!PluginMain.debugManager.FlashInterface.isDebuggerStarted || !PluginMain.debugManager.FlashInterface.isDebuggerSuspended))
271271
{
272272
PanelsHelper.localsUI.TreeControl.Nodes.Clear();
273273
PanelsHelper.stackframeUI.ClearItem();

0 commit comments

Comments
 (0)