diff options
author | Blazej Floch <register@bfloch.com> | 2018-02-11 06:08:37 -0500 |
---|---|---|
committer | Blazej Floch <register@bfloch.com> | 2018-05-07 23:17:06 -0400 |
commit | c45f44d85635a1d16a93c00cd8cb17f60dfa6336 (patch) | |
tree | 72075a2ec56dda5d512885e19b28295dbecf7b48 /core/script_language.h | |
parent | 9b1fdad035f226bb7eba3e592083fc40a9e1ab27 (diff) | |
download | redot-engine-c45f44d85635a1d16a93c00cd8cb17f60dfa6336.tar.gz |
Local debugger fixes and extensions
- Adds q/quit option to console debugging
- Adds options (variable_prefix)
- Breaks into debugger with Ctrl-C in local debug mode (Unix/Windows)
- Added option to list all breakpoints
- Fixes add/remove breakpoint bug (invalid path parsing)
- Minor cleanup
Diffstat (limited to 'core/script_language.h')
-rw-r--r-- | core/script_language.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/script_language.h b/core/script_language.h index 0c1f99cea6..55a20c7478 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -386,6 +386,7 @@ public: bool is_breakpoint(int p_line, const StringName &p_source) const; bool is_breakpoint_line(int p_line) const; void clear_breakpoints(); + const Map<int, Set<StringName> > &get_breakpoints() const { return breakpoints; } virtual void debug(ScriptLanguage *p_script, bool p_can_continue = true) = 0; virtual void idle_poll(); |