summaryrefslogtreecommitdiff
path: root/editor/debugger/script_editor_debugger.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-16 15:09:01 +0100
committerGitHub <noreply@github.com>2022-01-16 15:09:01 +0100
commit19804730ee432658a2ab7f8f784bc5946f56c508 (patch)
treea8177b8e4e721d4f6624fadf62847c6ada33b907 /editor/debugger/script_editor_debugger.h
parent02e674527166cdd7fb1aeaf601de1d99948810b5 (diff)
parent895eb7539a8c29ed33e01567f72cbee506750994 (diff)
Merge pull request #53546 from Paulb23/breakpoint-list
Diffstat (limited to 'editor/debugger/script_editor_debugger.h')
-rw-r--r--editor/debugger/script_editor_debugger.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/editor/debugger/script_editor_debugger.h b/editor/debugger/script_editor_debugger.h
index ceb30e4565..c061e7c61e 100644
--- a/editor/debugger/script_editor_debugger.h
+++ b/editor/debugger/script_editor_debugger.h
@@ -81,6 +81,9 @@ private:
enum Actions {
ACTION_COPY_ERROR,
ACTION_OPEN_SOURCE,
+ ACTION_DELETE_BREAKPOINT,
+ ACTION_DELETE_BREAKPOINTS_IN_FILE,
+ ACTION_DELETE_ALL_BREAKPOINTS,
};
AcceptDialog *msgdialog;
@@ -99,6 +102,9 @@ private:
Button *clear_button;
PopupMenu *item_menu;
+ Tree *breakpoints_tree;
+ PopupMenu *breakpoints_menu;
+
EditorFileDialog *file_dialog;
enum FileDialogPurpose {
SAVE_MONITORS_CSV,
@@ -198,6 +204,7 @@ private:
void _clear_errors_list();
+ void _breakpoints_item_rmb_selected(const Vector2 &p_pos);
void _error_tree_item_rmb_selected(const Vector2 &p_pos);
void _item_menu_id_pressed(int p_option);
void _tab_changed(int p_tab);
@@ -211,6 +218,8 @@ private:
void _set_breakpoint(const String &p_path, const int &p_line, const bool &p_enabled);
void _clear_breakpoints();
+ void _breakpoint_tree_clicked();
+
protected:
void _notification(int p_what);
static void _bind_methods();