From 09dd70878e82516b8f768dd50fc551959e21e4e5 Mon Sep 17 00:00:00 2001 From: Bernhard Liebl Date: Sun, 7 Jan 2018 13:00:15 +0100 Subject: [PATCH] Fixes debugger randomly not pausing --- editor/script_editor_debugger.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp index fa0deb76064..e993c2fd460 100644 --- a/editor/script_editor_debugger.cpp +++ b/editor/script_editor_debugger.cpp @@ -1166,6 +1166,7 @@ void ScriptEditorDebugger::start() { } set_process(true); + breaked = false; } void ScriptEditorDebugger::pause() { @@ -1177,6 +1178,7 @@ void ScriptEditorDebugger::unpause() { void ScriptEditorDebugger::stop() { set_process(false); + breaked = false; server->stop();