diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-09 19:44:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-09 19:44:10 +0100 |
commit | c037f6339f1fc9636b4fc9056ae0b2e2b673024d (patch) | |
tree | e483dac8a1c4ac409be699b23f49d5bebce95164 /core/script_debugger_local.cpp | |
parent | 958a15c7a7ddf7e4247ea73ce6cc2b63cd0c644b (diff) | |
parent | 1c6269f2dd3e1a46dbb6a36c3363c9c535be8b64 (diff) |
Merge pull request #15463 from neikeq/the-stack-frame-madness
Mono: Implement stack info for errors and exceptions
Diffstat (limited to 'core/script_debugger_local.cpp')
-rw-r--r-- | core/script_debugger_local.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/script_debugger_local.cpp b/core/script_debugger_local.cpp index 57463a662d..0da377453e 100644 --- a/core/script_debugger_local.cpp +++ b/core/script_debugger_local.cpp @@ -294,6 +294,11 @@ void ScriptDebuggerLocal::send_message(const String &p_message, const Array &p_a print_line("MESSAGE: '" + p_message + "' - " + String(Variant(p_args))); } +void ScriptDebuggerLocal::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<ScriptLanguage::StackInfo> &p_stack_info) { + + print_line("ERROR: '" + (p_descr.empty() ? p_err : p_descr) + "'"); +} + ScriptDebuggerLocal::ScriptDebuggerLocal() { profiling = false; |