MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / set_breakpoint

Method set_breakpoint

editor/debugger/editor_debugger_node.cpp:636–643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

634}
635
636void EditorDebuggerNode::set_breakpoint(const String &p_path, int p_line, bool p_enabled) {
637 breakpoints[Breakpoint(p_path, p_line)] = p_enabled;
638 _for_all(tabs, [&](ScriptEditorDebugger *dbg) {
639 dbg->set_breakpoint(p_path, p_line, p_enabled);
640 });
641
642 emit_signal(SNAME("breakpoint_toggled"), p_path, p_line, p_enabled);
643}
644
645void EditorDebuggerNode::set_breakpoints(const String &p_path, const Array &p_lines) {
646 for (int i = 0; i < p_lines.size(); i++) {

Callers 1

_notificationMethod · 0.45

Calls 2

_for_allFunction · 0.85
BreakpointClass · 0.50

Tested by

no test coverage detected