mirror of
https://github.com/godotengine/godot.git
synced 2025-10-23 18:03:35 +00:00
Support multiple debug protocols.
This commit is contained in:
parent
ed225faf31
commit
d79e28c302
13 changed files with 78 additions and 41 deletions
|
|
@ -32,11 +32,14 @@
|
|||
|
||||
#include "core/os/keyboard.h"
|
||||
#include "editor/debugger/editor_debugger_node.h"
|
||||
#include "editor/debugger/editor_debugger_server.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/fileserver/editor_file_server.h"
|
||||
#include "scene/gui/menu_button.h"
|
||||
|
||||
DebuggerEditorPlugin::DebuggerEditorPlugin(EditorNode *p_editor, MenuButton *p_debug_menu) {
|
||||
EditorDebuggerServer::initialize();
|
||||
|
||||
ED_SHORTCUT("debugger/step_into", TTR("Step Into"), KEY_F11);
|
||||
ED_SHORTCUT("debugger/step_over", TTR("Step Over"), KEY_F10);
|
||||
ED_SHORTCUT("debugger/break", TTR("Break"));
|
||||
|
|
@ -96,6 +99,7 @@ DebuggerEditorPlugin::DebuggerEditorPlugin(EditorNode *p_editor, MenuButton *p_d
|
|||
}
|
||||
|
||||
DebuggerEditorPlugin::~DebuggerEditorPlugin() {
|
||||
EditorDebuggerServer::deinitialize();
|
||||
memdelete(file_server);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue