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

Method _set_breakpoint

editor/debugger/script_editor_debugger.cpp:1185–1189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1183}
1184
1185void ScriptEditorDebugger::_set_breakpoint(const String &p_file, const int &p_line, const bool &p_enabled) {
1186 Ref<Script> scr = ResourceLoader::load(p_file);
1187 emit_signal(SNAME("set_breakpoint"), scr, p_line - 1, p_enabled);
1188 scr.unref();
1189}
1190
1191void ScriptEditorDebugger::_clear_breakpoints() {
1192 emit_signal(SNAME("clear_breakpoints"));

Callers 1

update_breakpointsMethod · 0.45

Calls 1

unrefMethod · 0.45

Tested by

no test coverage detected