summaryrefslogtreecommitdiff
path: root/editor/debugger/editor_debugger_node.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-08-03 17:12:37 +0200
committerGitHub <noreply@github.com>2021-08-03 17:12:37 +0200
commit80fc90e82a57e8111cb7577b05bb2de021000e75 (patch)
treedefa5d920819e120f6012eb91865bee770018e0f /editor/debugger/editor_debugger_node.h
parentdb9c9932508026a570b7beb4d5ddfb35aa5f1c42 (diff)
parent7bccd5487e83d66351c8b8cd17ab1b6ce719df09 (diff)
Merge pull request #50454 from Ev1lbl0w/gsoc21-dap
Implemented initial DAP support
Diffstat (limited to 'editor/debugger/editor_debugger_node.h')
-rw-r--r--editor/debugger/editor_debugger_node.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/editor/debugger/editor_debugger_node.h b/editor/debugger/editor_debugger_node.h
index 9a40383c17..0849ecf1c9 100644
--- a/editor/debugger/editor_debugger_node.h
+++ b/editor/debugger/editor_debugger_node.h
@@ -35,6 +35,7 @@
#include "scene/gui/margin_container.h"
class Button;
+class DebugAdapterParser;
class EditorDebuggerTree;
class EditorDebuggerRemoteObject;
class MenuButton;
@@ -109,6 +110,7 @@ private:
EditorDebuggerRemoteObject *get_inspected_remote_object();
friend class DebuggerEditorPlugin;
+ friend class DebugAdapterParser;
static EditorDebuggerNode *singleton;
EditorDebuggerNode();
@@ -129,7 +131,7 @@ protected:
void _text_editor_stack_goto(const ScriptEditorDebugger *p_debugger);
void _stack_frame_selected(int p_debugger);
void _error_selected(const String &p_file, int p_line, int p_debugger);
- void _breaked(bool p_breaked, bool p_can_debug, int p_debugger);
+ void _breaked(bool p_breaked, bool p_can_debug, String p_message, bool p_has_stackdump, int p_debugger);
void _paused();
void _break_state_changed();
void _menu_option(int p_id);
@@ -164,6 +166,7 @@ public:
bool is_skip_breakpoints() const;
void set_breakpoint(const String &p_path, int p_line, bool p_enabled);
+ void set_breakpoints(const String &p_path, Array p_lines);
void reload_scripts();
// Remote inspector/edit.