29 #ifndef SCRIPT_DEBUGGER_REMOTE_H 30 #define SCRIPT_DEBUGGER_REMOTE_H 33 #include "script_language.h" 34 #include "io/stream_peer_tcp.h" 35 #include "io/packet_peer.h" 51 uint64_t last_perf_time;
82 static void _print_handler(
void *p_this,
const String& p_string);
91 bool _parse_live_edit(
const Array &p_command);
93 RequestSceneTreeMessageFunc request_scene_tree;
94 void *request_scene_tree_ud;
96 void _send_video_memory();
97 LiveEditFuncs *live_edit_funcs;
100 static void _err_handler(
void*,
const char*,
const char*,
int p_line,
const char *,
const char *,ErrorHandlerType p_type);
112 bool operator<(
const ResourceUsage& p_img)
const {
return vram==p_img.vram ?
id<p_img.id : vram > p_img.vram; }
117 static ResourceUsageFunc resource_usage_func;
119 Error connect_to_host(
const String& p_host,uint16_t p_port);
120 virtual void debug(
ScriptLanguage *p_script,
bool p_can_continue=
true);
121 virtual void idle_poll();
122 virtual void line_poll();
124 virtual bool is_remote()
const {
return true; }
125 virtual void request_quit();
127 virtual void send_message(
const String& p_message,
const Array& p_args);
129 virtual void set_request_scene_tree_message_func(RequestSceneTreeMessageFunc p_func,
void *p_udata);
136 #endif // SCRIPT_DEBUGGER_REMOTE_H
Definition: script_debugger_remote.h:38
Definition: error_macros.h:59
Definition: script_language.h:147
Definition: print_string.h:39
Definition: script_language.h:242
Definition: script_language.h:255
Definition: script_debugger_remote.h:105