Add support for --ignore-error-breaks to LocalDebugger

This commit is contained in:
Mikael Hermansson 2026-02-26 19:25:48 +01:00
parent 5cba18ff3b
commit 9d67b350d8

View file

@ -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()) {