Central Debug Component
Last updated
Was this helpful?
Last updated
Was this helpful?
The Debug Central (AC_DebugCentral) component is a powerful debugging utility designed to monitor, log, and display real-time information about all key components of the framework. It collects data from every major component and feeds it into the W_DebugWindow widget, which handles parsing and formatting the data for display in the UI.
It is added to the Character class by default (B_Soulslike_Character).
Debug Toggle & Tick Event Handling
On Begin Play, the system checks if debugging is enabled (EnableDebugging
flag) and accordingly activates/deactivates ticking and updates data at a regular interval.
The UpdateComponentData()
method inside W_DebugWindow is responsible for querying each component and converting its data into a structured log entry.
Uses a Gameplay Tag Switch to determine which component’s data is currently needed.
Parses relevant properties into a readable string for display.