diff options
| author | Ignacio Etcheverry | 2018-01-09 17:19:03 +0100 |
|---|---|---|
| committer | Ignacio Etcheverry | 2018-01-09 17:19:03 +0100 |
| commit | 5be356b72f5b765cdec069c2c4a4011a42fabc47 (patch) | |
| tree | 5a8bc0f7a3e9cb0646634e5df57d9c73d98d6a09 /core/script_debugger_local.cpp | |
| parent | 52165fa12de7ca76898a7c1855a2f23797b2c2ed (diff) | |
| download | godot-5be356b72f5b765cdec069c2c4a4011a42fabc47.tar.gz godot-5be356b72f5b765cdec069c2c4a4011a42fabc47.tar.zst godot-5be356b72f5b765cdec069c2c4a4011a42fabc47.zip | |
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 57463a662..0da377453 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; |
