diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 56e1b9d2ee6..b2ebad5ea50 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -1559,7 +1559,9 @@ void ScriptEditor::get_breakpoints(List *p_breakpoints) { List bpoints; se->get_breakpoints(&bpoints); String base = script->get_path(); - ERR_CONTINUE(base.begins_with("local://") || base == ""); + if (base.begins_with("local://") || base == "") { + continue; + } for (List::Element *E = bpoints.front(); E; E = E->next()) {