You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Fix DAP breakpoints being cleared on closed scripts
(cherry picked from commit 760ff2e933)
This commit is contained in:
committed by
Yuri Sizov
parent
b05514dd0d
commit
74374b02a7
@@ -548,7 +548,7 @@ void ScriptEditor::_set_breakpoint(Ref<RefCounted> p_script, int p_line, bool p_
|
||||
}
|
||||
state["breakpoints"] = breakpoints;
|
||||
script_editor_cache->set_value(scr->get_path(), "state", state);
|
||||
EditorDebuggerNode::get_singleton()->set_breakpoint(scr->get_path(), p_line + 1, false);
|
||||
EditorDebuggerNode::get_singleton()->set_breakpoint(scr->get_path(), p_line + 1, p_enabled);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user