From 9d67b350d8050223d01c23c41f06256a55dd8492 Mon Sep 17 00:00:00 2001 From: Mikael Hermansson Date: Thu, 26 Feb 2026 19:25:48 +0100 Subject: [PATCH] Add support for `--ignore-error-breaks` to `LocalDebugger` --- core/debugger/local_debugger.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/debugger/local_debugger.cpp b/core/debugger/local_debugger.cpp index e9c02b941a..cd9d55380b 100644 --- a/core/debugger/local_debugger.cpp +++ b/core/debugger/local_debugger.cpp @@ -115,6 +115,10 @@ struct LocalDebugger::ScriptsProfiler { }; void LocalDebugger::debug(bool p_can_continue, bool p_is_error_breakpoint) { + if (script_debugger->is_ignoring_error_breaks() && p_is_error_breakpoint) { + return; + } + ScriptLanguage *script_lang = script_debugger->get_break_language(); if (!target_function.is_empty()) {