Added debugger plugin support
Changes: * EngineDebugger is exposed to gdscript. Game side of communication can be implemented through it. * EditorDebuggerPlugin is added which handles the editor side of communication.
This commit is contained in:
parent
a609b30ddb
commit
ea2eaf8c27
16 changed files with 780 additions and 1 deletions
|
|
@ -103,6 +103,8 @@ private:
|
|||
CameraOverride camera_override = OVERRIDE_NONE;
|
||||
Map<Breakpoint, bool> breakpoints;
|
||||
|
||||
Set<Ref<Script>> debugger_plugins;
|
||||
|
||||
ScriptEditorDebugger *_add_debugger();
|
||||
EditorDebuggerRemoteObject *get_inspected_remote_object();
|
||||
|
||||
|
|
@ -186,5 +188,8 @@ public:
|
|||
Error start(const String &p_protocol = "tcp://");
|
||||
|
||||
void stop();
|
||||
|
||||
void add_debugger_plugin(const Ref<Script> &p_script);
|
||||
void remove_debugger_plugin(const Ref<Script> &p_script);
|
||||
};
|
||||
#endif // EDITOR_DEBUGGER_NODE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue