mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00: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. |
||
---|---|---|
.. | ||
arvr | ||
audio | ||
camera | ||
physics | ||
physics_2d | ||
visual | ||
arvr_server.cpp | ||
arvr_server.h | ||
audio_server.cpp | ||
audio_server.h | ||
camera_server.cpp | ||
camera_server.h | ||
navigation_2d_server.cpp | ||
navigation_2d_server.h | ||
navigation_server.cpp | ||
navigation_server.h | ||
physics_2d_server.cpp | ||
physics_2d_server.h | ||
physics_server.cpp | ||
physics_server.h | ||
register_server_types.cpp | ||
register_server_types.h | ||
SCsub | ||
server_wrap_mt_common.h | ||
visual_server.cpp | ||
visual_server.h |