Merge pull request #116823 from mihe/no-local-error-breaks

Add support for `--ignore-error-breaks` to `LocalDebugger`
This commit is contained in:
Thaddeus Crews 2026-02-26 16:18:43 -06:00
commit f9f441270a
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

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