From 44e260e2478a8f086192ce32132db3fec0a2e988 Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Thu, 7 Oct 2021 19:46:44 +0100 Subject: [PATCH] Allow breakpoints in closed files --- editor/plugins/script_editor_plugin.cpp | 94 +++++++++++++++++++++++-- editor/plugins/script_editor_plugin.h | 1 + editor/plugins/script_text_editor.cpp | 2 +- 3 files changed, 90 insertions(+), 7 deletions(-) diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index dbc5b140847..5df6743f4cb 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -484,14 +484,32 @@ void ScriptEditor::_clear_execution(REF p_script) { void ScriptEditor::_set_breakpoint(REF p_script, int p_line, bool p_enabled) { Ref