From 0257492209c974c8fa857378c174b9262c170d78 Mon Sep 17 00:00:00 2001 From: tomcw Date: Mon, 29 May 2017 21:28:45 +0100 Subject: [PATCH] Debugger: Don't 'eat' the next keypress when leaving the debugger via F7 (or clicking the Debugger button) --- source/Frame.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Frame.cpp b/source/Frame.cpp index 85612ce4..694accf3 100644 --- a/source/Frame.cpp +++ b/source/Frame.cpp @@ -1886,6 +1886,7 @@ static void ProcessButtonClick(int button, bool bFromButtonUI /*=false*/) else if (g_nAppMode == MODE_DEBUG) { DebugExitDebugger(); // Exit debugger, switch to MODE_RUNNING or MODE_STEPPING + g_bDebuggerEatKey = false; // Don't "eat" the next keypress when leaving the debugger via F7 (or clicking the Debugger button) } else // MODE_RUNNING, MODE_LOGO, MODE_PAUSED {