summaryrefslogtreecommitdiffstats
path: root/editor/debugger/script_editor_debugger.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/script_editor_debugger.h
parentdb9c9932508026a570b7beb4d5ddfb35aa5f1c42 (diff)
parent7bccd5487e83d66351c8b8cd17ab1b6ce719df09 (diff)
downloadredot-engine-80fc90e82a57e8111cb7577b05bb2de021000e75.tar.gz
Merge pull request #50454 from Ev1lbl0w/gsoc21-dap
Implemented initial DAP support
Diffstat (limited to 'editor/debugger/script_editor_debugger.h')
-rw-r--r--editor/debugger/script_editor_debugger.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/editor/debugger/script_editor_debugger.h b/editor/debugger/script_editor_debugger.h
index a5731c9f9c..499dda86da 100644
--- a/editor/debugger/script_editor_debugger.h
+++ b/editor/debugger/script_editor_debugger.h
@@ -55,11 +55,15 @@ class EditorNetworkProfiler;
class EditorPerformanceProfiler;
class SceneDebuggerTree;
class EditorDebuggerPlugin;
+class DebugAdapterProtocol;
+class DebugAdapterParser;
class ScriptEditorDebugger : public MarginContainer {
GDCLASS(ScriptEditorDebugger, MarginContainer);
friend class EditorDebuggerNode;
+ friend class DebugAdapterProtocol;
+ friend class DebugAdapterParser;
private:
enum MessageType {
@@ -147,6 +151,7 @@ private:
OS::ProcessID remote_pid = 0;
bool breaked = false;
bool can_debug = false;
+ bool move_to_foreground = true;
bool live_debug;
@@ -230,12 +235,17 @@ public:
bool is_session_active() { return peer.is_valid() && peer->is_peer_connected(); };
int get_remote_pid() const { return remote_pid; }
+ bool is_move_to_foreground() const;
+ void set_move_to_foreground(const bool &p_move_to_foreground);
+
int get_error_count() const { return error_count; }
int get_warning_count() const { return warning_count; }
String get_stack_script_file() const;
int get_stack_script_line() const;
int get_stack_script_frame() const;
+ bool request_stack_dump(const int &p_frame);
+
void update_tabs();
void clear_style();
String get_var_value(const String &p_var) const;