diff options
author | iwek7 <miwanczuk7@gmail.com> | 2019-07-29 20:09:22 +0200 |
---|---|---|
committer | iwek7 <miwanczuk7@gmail.com> | 2019-09-03 20:49:09 +0200 |
commit | 617797c47cac39830282b7ea85fc38eb2d242e19 (patch) | |
tree | 3a13d873fc96c1f7e02718269d55a0cc9234ad7a /core/script_debugger_remote.h | |
parent | 750f8d4926edb14269d9f6a117c5a9fd4765373a (diff) | |
download | redot-engine-617797c47cac39830282b7ea85fc38eb2d242e19.tar.gz |
Adds skip-breakpoints feature
Diffstat (limited to 'core/script_debugger_remote.h')
-rw-r--r-- | core/script_debugger_remote.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/script_debugger_remote.h b/core/script_debugger_remote.h index a5bfd7a32d..34585afc80 100644 --- a/core/script_debugger_remote.h +++ b/core/script_debugger_remote.h @@ -140,6 +140,8 @@ class ScriptDebuggerRemote : public ScriptDebugger { void _save_node(ObjectID id, const String &p_path); + bool skip_breakpoints; + public: struct ResourceUsage { @@ -156,7 +158,7 @@ public: static ResourceUsageFunc resource_usage_func; Error connect_to_host(const String &p_host, uint16_t p_port); - virtual void debug(ScriptLanguage *p_script, bool p_can_continue = true); + virtual void debug(ScriptLanguage *p_script, bool p_can_continue = true, bool p_is_error_breakpoint = false); virtual void idle_poll(); virtual void line_poll(); @@ -176,6 +178,8 @@ public: virtual void profiling_end(); virtual void profiling_set_frame_times(float p_frame_time, float p_idle_time, float p_physics_time, float p_physics_frame_time); + virtual void set_skip_breakpoints(bool p_skip_breakpoints); + ScriptDebuggerRemote(); ~ScriptDebuggerRemote(); }; |