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

Method _breaked

editor/script/script_editor_plugin.cpp:502–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

500}
501
502void ScriptEditor::_breaked(bool p_breaked, bool p_can_debug) {
503 if (external_editor_active) {
504 return;
505 }
506
507 for (int i = 0; i < tab_container->get_tab_count(); i++) {
508 ScriptEditorBase *se = Object::cast_to<ScriptEditorBase>(tab_container->get_tab_control(i));
509 if (!se) {
510 continue;
511 }
512
513 se->set_debugger_active(p_breaked);
514 }
515}
516
517void ScriptEditor::_script_created(Ref<Script> p_script) {
518 EditorNode::get_singleton()->push_item(p_script.operator->());

Callers

nothing calls this directly

Calls 3

get_tab_controlMethod · 0.80
get_tab_countMethod · 0.45
set_debugger_activeMethod · 0.45

Tested by

no test coverage detected