MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / _put_msg

Method _put_msg

core/debugger/remote_debugger.cpp:105–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103};
104
105Error RemoteDebugger::_put_msg(const String &p_message, const Array &p_data) {
106 Array msg = { p_message, Thread::get_caller_id(), p_data };
107 Error err = peer->put_message(msg);
108 if (err != OK) {
109 n_messages_dropped++;
110 }
111 return err;
112}
113
114void RemoteDebugger::_err_handler(void *p_this, const char *p_func, const char *p_file, int p_line, const char *p_err, const char *p_descr, bool p_editor_notify, ErrorHandlerType p_type) {
115 RemoteDebugger *rd = static_cast<RemoteDebugger *>(p_this);

Callers

nothing calls this directly

Calls 1

put_messageMethod · 0.45

Tested by

no test coverage detected