diff options
| author | Juan Linietsky | 2015-08-04 09:47:32 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-08-04 09:47:32 -0300 |
| commit | d1da2c29955c851d74037a5196168a0a90507f9a (patch) | |
| tree | c51bb0c05da46a368fe712a5a494af591b9f1484 /tools/editor/script_editor_debugger.h | |
| parent | cbee679bd78c1b3317db1ea4e349f278576304a1 (diff) | |
| download | godot-d1da2c29955c851d74037a5196168a0a90507f9a.tar.gz godot-d1da2c29955c851d74037a5196168a0a90507f9a.tar.zst godot-d1da2c29955c851d74037a5196168a0a90507f9a.zip | |
error debugger
shows the list of errors that happened during running the game, traces
can be analyzed
Diffstat (limited to 'tools/editor/script_editor_debugger.h')
| -rw-r--r-- | tools/editor/script_editor_debugger.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/editor/script_editor_debugger.h b/tools/editor/script_editor_debugger.h index cad41ce8a..f8e943df9 100644 --- a/tools/editor/script_editor_debugger.h +++ b/tools/editor/script_editor_debugger.h @@ -45,6 +45,7 @@ class TextureButton; class AcceptDialog; class TreeItem; class HSplitContainer; +class ItemList; class ScriptEditorDebugger : public Control { @@ -63,6 +64,14 @@ class ScriptEditorDebugger : public Control { Button *le_set; Button *le_clear; + HSplitContainer *error_split; + ItemList *error_list; + ItemList *error_stack; + + int error_count; + int last_error_count; + + TextureButton *tb; @@ -132,6 +141,9 @@ class ScriptEditorDebugger : public Control { static void _method_changeds(void *p_ud,Object*p_base,const StringName& p_name,VARIANT_ARG_DECLARE); static void _property_changeds(void *p_ud,Object*p_base,const StringName& p_property,const Variant& p_value); + void _error_selected(int p_idx); + void _error_stack_selected(int p_idx); + protected: void _notification(int p_what); |
