godot/editor/debugger/script_editor_debugger.cpp

/**************************************************************************/
/*  script_editor_debugger.cpp                                            */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "script_editor_debugger.h"

#include "core/config/project_settings.h"
#include "core/debugger/debugger_marshalls.h"
#include "core/debugger/remote_debugger.h"
#include "core/io/marshalls.h"
#include "core/string/ustring.h"
#include "core/version.h"
#include "editor/debugger/debug_adapter/debug_adapter_protocol.h"
#include "editor/debugger/editor_performance_profiler.h"
#include "editor/debugger/editor_profiler.h"
#include "editor/debugger/editor_visual_profiler.h"
#include "editor/editor_file_system.h"
#include "editor/editor_log.h"
#include "editor/editor_node.h"
#include "editor/editor_property_name_processor.h"
#include "editor/editor_settings.h"
#include "editor/editor_string_names.h"
#include "editor/gui/editor_file_dialog.h"
#include "editor/inspector_dock.h"
#include "editor/plugins/canvas_item_editor_plugin.h"
#include "editor/plugins/editor_debugger_plugin.h"
#include "editor/plugins/node_3d_editor_plugin.h"
#include "editor/themes/editor_scale.h"
#include "main/performance.h"
#include "scene/3d/camera_3d.h"
#include "scene/debugger/scene_debugger.h"
#include "scene/gui/dialogs.h"
#include "scene/gui/grid_container.h"
#include "scene/gui/label.h"
#include "scene/gui/line_edit.h"
#include "scene/gui/margin_container.h"
#include "scene/gui/rich_text_label.h"
#include "scene/gui/separator.h"
#include "scene/gui/split_container.h"
#include "scene/gui/tab_container.h"
#include "scene/gui/texture_button.h"
#include "scene/gui/tree.h"
#include "scene/resources/packed_scene.h"
#include "servers/debugger/servers_debugger.h"
#include "servers/display_server.h"

CameraOverride;

void ScriptEditorDebugger::_put_msg(const String &p_message, const Array &p_data, uint64_t p_thread_id) {}

void ScriptEditorDebugger::debug_copy() {}

void ScriptEditorDebugger::debug_skip_breakpoints() {}

void ScriptEditorDebugger::debug_next() {}

void ScriptEditorDebugger::debug_step() {}

void ScriptEditorDebugger::debug_break() {}

void ScriptEditorDebugger::debug_continue() {}

void ScriptEditorDebugger::update_tabs() {}

void ScriptEditorDebugger::clear_style() {}

void ScriptEditorDebugger::save_node(ObjectID p_id, const String &p_file) {}

void ScriptEditorDebugger::_file_selected(const String &p_file) {}

void ScriptEditorDebugger::request_remote_tree() {}

const SceneDebuggerTree *ScriptEditorDebugger::get_remote_tree() {}

void ScriptEditorDebugger::update_remote_object(ObjectID p_obj_id, const String &p_prop, const Variant &p_value) {}

void ScriptEditorDebugger::request_remote_object(ObjectID p_obj_id) {}

Object *ScriptEditorDebugger::get_remote_object(ObjectID p_id) {}

void ScriptEditorDebugger::_remote_object_selected(ObjectID p_id) {}

void ScriptEditorDebugger::_remote_object_edited(ObjectID p_id, const String &p_prop, const Variant &p_value) {}

void ScriptEditorDebugger::_remote_object_property_updated(ObjectID p_id, const String &p_property) {}

void ScriptEditorDebugger::_video_mem_request() {}

void ScriptEditorDebugger::_video_mem_export() {}

Size2 ScriptEditorDebugger::get_minimum_size() const {}

void ScriptEditorDebugger::_thread_debug_enter(uint64_t p_thread_id) {}

void ScriptEditorDebugger::_select_thread(int p_index) {}

void ScriptEditorDebugger::_parse_message(const String &p_msg, uint64_t p_thread_id, const Array &p_data) {}

void ScriptEditorDebugger::_set_reason_text(const String &p_reason, MessageType p_type) {}

void ScriptEditorDebugger::_notification(int p_what) {}

void ScriptEditorDebugger::_clear_execution() {}

void ScriptEditorDebugger::_set_breakpoint(const String &p_file, const int &p_line, const bool &p_enabled) {}

void ScriptEditorDebugger::_clear_breakpoints() {}

void ScriptEditorDebugger::_breakpoint_tree_clicked() {}

String ScriptEditorDebugger::_format_frame_text(const ScriptLanguage::StackInfo *info) {}

void ScriptEditorDebugger::start(Ref<RemoteDebuggerPeer> p_peer) {}

void ScriptEditorDebugger::_update_buttons_state() {}

void ScriptEditorDebugger::_stop_and_notify() {}

void ScriptEditorDebugger::stop() {}

void ScriptEditorDebugger::_profiler_activate(bool p_enable, int p_type) {}

void ScriptEditorDebugger::_profiler_seeked() {}

void ScriptEditorDebugger::_stack_dump_frame_selected() {}

void ScriptEditorDebugger::_export_csv() {}

String ScriptEditorDebugger::get_var_value(const String &p_var) const {}

int ScriptEditorDebugger::_get_node_path_cache(const NodePath &p_path) {}

int ScriptEditorDebugger::_get_res_path_cache(const String &p_path) {}

void ScriptEditorDebugger::_method_changed(Object *p_base, const StringName &p_name, const Variant **p_args, int p_argcount) {}

void ScriptEditorDebugger::_property_changed(Object *p_base, const StringName &p_property, const Variant &p_value) {}

bool ScriptEditorDebugger::is_move_to_foreground() const {}

void ScriptEditorDebugger::set_move_to_foreground(const bool &p_move_to_foreground) {}

String ScriptEditorDebugger::get_stack_script_file() const {}

int ScriptEditorDebugger::get_stack_script_line() const {}

int ScriptEditorDebugger::get_stack_script_frame() const {}

bool ScriptEditorDebugger::request_stack_dump(const int &p_frame) {}

void ScriptEditorDebugger::set_live_debugging(bool p_enable) {}

void ScriptEditorDebugger::_live_edit_set() {}

void ScriptEditorDebugger::_live_edit_clear() {}

void ScriptEditorDebugger::update_live_edit_root() {}

void ScriptEditorDebugger::live_debug_create_node(const NodePath &p_parent, const String &p_type, const String &p_name) {}

void ScriptEditorDebugger::live_debug_instantiate_node(const NodePath &p_parent, const String &p_path, const String &p_name) {}

void ScriptEditorDebugger::live_debug_remove_node(const NodePath &p_at) {}

void ScriptEditorDebugger::live_debug_remove_and_keep_node(const NodePath &p_at, ObjectID p_keep_id) {}

void ScriptEditorDebugger::live_debug_restore_node(ObjectID p_id, const NodePath &p_at, int p_at_pos) {}

void ScriptEditorDebugger::live_debug_duplicate_node(const NodePath &p_at, const String &p_new_name) {}

void ScriptEditorDebugger::live_debug_reparent_node(const NodePath &p_at, const NodePath &p_new_place, const String &p_new_name, int p_at_pos) {}

CameraOverride ScriptEditorDebugger::get_camera_override() const {}

void ScriptEditorDebugger::set_camera_override(CameraOverride p_override) {}

void ScriptEditorDebugger::set_breakpoint(const String &p_path, int p_line, bool p_enabled) {}

void ScriptEditorDebugger::reload_all_scripts() {}

void ScriptEditorDebugger::reload_scripts(const Vector<String> &p_script_paths) {}

bool ScriptEditorDebugger::is_skip_breakpoints() {}

void ScriptEditorDebugger::_error_activated() {}

void ScriptEditorDebugger::_error_selected() {}

void ScriptEditorDebugger::_expand_errors_list() {}

void ScriptEditorDebugger::_collapse_errors_list() {}

void ScriptEditorDebugger::_clear_errors_list() {}

void ScriptEditorDebugger::_breakpoints_item_rmb_selected(const Vector2 &p_pos, MouseButton p_button) {}

// Right click on specific file(s) or folder(s).
void ScriptEditorDebugger::_error_tree_item_rmb_selected(const Vector2 &p_pos, MouseButton p_button) {}

void ScriptEditorDebugger::_item_menu_id_pressed(int p_option) {}

void ScriptEditorDebugger::_tab_changed(int p_tab) {}

void ScriptEditorDebugger::_bind_methods() {}

void ScriptEditorDebugger::add_debugger_tab(Control *p_control) {}

void ScriptEditorDebugger::remove_debugger_tab(Control *p_control) {}

int ScriptEditorDebugger::get_current_debugger_tab() const {}

void ScriptEditorDebugger::switch_to_debugger(int p_debugger_tab_idx) {}

void ScriptEditorDebugger::send_message(const String &p_message, const Array &p_args) {}

void ScriptEditorDebugger::toggle_profiler(const String &p_profiler, bool p_enable, const Array &p_data) {}

ScriptEditorDebugger::ScriptEditorDebugger() {}

ScriptEditorDebugger::~ScriptEditorDebugger() {}