FTimerManager::ListTimers
#include "TimerManager.h"
Access: public
Specifiers: ENGINE_API
Description
Dumps a human-readable list of all currently registered timers — including their rate, remaining time, and delegate info — to the output log. Useful for debugging timer-related issues.
Caveats & Gotchas
- • Output is written with UE_LOG to LogEngine at the Log verbosity level. If your log filter suppresses LogEngine, you will see nothing; use `log LogEngine log` in the console to re-enable it.
- • The dump includes delegate debug strings, which rely on the delegate being properly named via DECLARE_DYNAMIC_DELEGATE or function pointer symbols — anonymous lambdas will show as opaque addresses.
Signature
ENGINE_API void ListTimers() const Return Type
void Example
Trigger from a console command C++
static FAutoConsoleCommandWithWorld CmdListTimers(
TEXT("Timer.ListAll"),
TEXT("Dumps all active timers to the log."),
FConsoleCommandWithWorldDelegate::CreateLambda([](UWorld* World)
{
if (World)
{
World->GetTimerManager().ListTimers();
}
})
); See Also
Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?