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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
SCsub | Loading commit data... | |
canvas_layer.cpp | Loading commit data... | |
canvas_layer.h | Loading commit data... | |
http_request.cpp | Loading commit data... | |
http_request.h | Loading commit data... | |
instance_placeholder.cpp | Loading commit data... | |
instance_placeholder.h | Loading commit data... | |
node.cpp | Loading commit data... | |
node.h | Loading commit data... | |
resource_preloader.cpp | Loading commit data... | |
resource_preloader.h | Loading commit data... | |
scene_tree.cpp | Loading commit data... | |
scene_tree.h | Loading commit data... | |
timer.cpp | Loading commit data... | |
timer.h | Loading commit data... | |
viewport.cpp | Loading commit data... | |
viewport.h | Loading commit data... |