summaryrefslogtreecommitdiffstats
path: root/core/debugger/script_debugger.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-10-19 09:57:13 +0200
committerGitHub <noreply@github.com>2021-10-19 09:57:13 +0200
commit4387f9645b1f54755506804770ba15c6c9cd5094 (patch)
treec6ea23953c4cb3742c3f876b267262f5ad651355 /core/debugger/script_debugger.cpp
parent21f1ac8bf313ee7859019fd57133862e2f559ea3 (diff)
parent0587e5e018f832eba8771a1cb1b645364b45f354 (diff)
downloadredot-engine-4387f9645b1f54755506804770ba15c6c9cd5094.tar.gz
Merge pull request #52940 from groud/toast_notification
Diffstat (limited to 'core/debugger/script_debugger.cpp')
-rw-r--r--core/debugger/script_debugger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/debugger/script_debugger.cpp b/core/debugger/script_debugger.cpp
index 6d1e4ed101..70ec101a03 100644
--- a/core/debugger/script_debugger.cpp
+++ b/core/debugger/script_debugger.cpp
@@ -100,10 +100,10 @@ void ScriptDebugger::debug(ScriptLanguage *p_lang, bool p_can_continue, bool p_i
break_lang = prev;
}
-void ScriptDebugger::send_error(const String &p_func, const String &p_file, int p_line, const String &p_err, const String &p_descr, ErrorHandlerType p_type, const Vector<StackInfo> &p_stack_info) {
+void ScriptDebugger::send_error(const String &p_func, const String &p_file, int p_line, const String &p_err, const String &p_descr, bool p_editor_notify, ErrorHandlerType p_type, const Vector<StackInfo> &p_stack_info) {
// Store stack info, this is ugly, but allows us to separate EngineDebugger and ScriptDebugger. There might be a better way.
error_stack_info.append_array(p_stack_info);
- EngineDebugger::get_singleton()->send_error(p_func, p_file, p_line, p_err, p_descr, p_type);
+ EngineDebugger::get_singleton()->send_error(p_func, p_file, p_line, p_err, p_descr, p_editor_notify, p_type);
error_stack_info.resize(0);
}