mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
b8ddaf9c33
EngineDebugger is the new interface to access the debugger. It tries to be as agnostic as possible on the data that various subsystems can expose. It allows 2 types of interactions: - Profilers: A subsystem can register a profiler, assigning it a unique name. That name can be used to activate the profiler or add data to it. The registered profiler can be composed of up to 3 functions: - Toggle: called when the profiler is activated/deactivated. - Add: called whenever data is added to the debugger (via `EngineDebugger::profiler_add_frame_data`) - Tick: called every frame (during idle), receives frame times. - Captures: (Only relevant in remote debugger for now) A subsystem can register a capture, assigning it a unique name. When receiving a message, the remote debugger will check if it starts with `[prefix]:` and call the associated capture with name `prefix`. Port MultiplayerAPI, Servers, Scripts, Visual, Performance to the new profiler system. Port SceneDebugger and RemoteDebugger to the new capture system. The LocalDebugger also uses the new profiler system for scripts profiling. |
||
---|---|---|
.. | ||
export | ||
context_gl_windows.cpp | ||
context_gl_windows.h | ||
crash_handler_windows.cpp | ||
crash_handler_windows.h | ||
detect.py | ||
godot_res.rc | ||
godot_windows.cpp | ||
godot.ico | ||
godot.natvis | ||
joypad_windows.cpp | ||
joypad_windows.h | ||
key_mapping_windows.cpp | ||
key_mapping_windows.h | ||
lang_table.h | ||
logo.png | ||
os_windows.cpp | ||
os_windows.h | ||
platform_config.h | ||
platform_windows_builders.py | ||
SCsub | ||
vulkan_context_win.cpp | ||
vulkan_context_win.h | ||
windows_terminal_logger.cpp | ||
windows_terminal_logger.h |