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

Method clear

editor/debugger/editor_debugger_plugin.cpp:156–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156void EditorDebuggerPlugin::clear() {
157 for (Ref<EditorDebuggerSession> &session : sessions) {
158 session->detach_debugger();
159 }
160 sessions.clear();
161}
162
163void EditorDebuggerPlugin::create_session(ScriptEditorDebugger *p_debugger) {
164 sessions.push_back(Ref<EditorDebuggerSession>(memnew(EditorDebuggerSession(p_debugger))));

Callers 2

detach_debuggerMethod · 0.45
_debugger_gone_awayMethod · 0.45

Calls 1

detach_debuggerMethod · 0.80

Tested by

no test coverage detected