Merge pull request #30982 from iwek7/feature/skip_breakpoints

Adds skip-breakpoints feature
This commit is contained in:
Rémi Verschelde 2019-09-04 01:31:08 +02:00 committed by GitHub
commit 75cbcb596a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 271 additions and 15 deletions

View file

@ -2450,7 +2450,7 @@ bool VisualScriptLanguage::debug_break_parse(const String &p_file, int p_node, c
_debug_parse_err_node = p_node;
_debug_parse_err_file = p_file;
_debug_error = p_error;
ScriptDebugger::get_singleton()->debug(this, false);
ScriptDebugger::get_singleton()->debug(this, false, true);
return true;
} else {
return false;
@ -2464,7 +2464,7 @@ bool VisualScriptLanguage::debug_break(const String &p_error, bool p_allow_conti
_debug_parse_err_node = -1;
_debug_parse_err_file = "";
_debug_error = p_error;
ScriptDebugger::get_singleton()->debug(this, p_allow_continue);
ScriptDebugger::get_singleton()->debug(this, p_allow_continue, true);
return true;
} else {
return false;