Unrealscript Debugging
From Unreal Tournament 2004 MiA Wiki
- UTrace - simple on/off. When on it floods the log, so be careful. When on can easy flood log with GB of output!
- UTrack - enter to console for see help. Works only when UTrace is enabled. Can pass class name or object nameas the frst argument. The second is property name.
- Changes will appear in UTrace log as on screens above.
- UProfile - collect all uscript usage and on turn off dump in format which almost json and can be parsed by js if need. Or some tools.
- It is good for finding slow functions or what consumes a lot time or a lot calls to allow you to optimise code.
- DEBUGBREAK - when called in code emits a break for the debugger. :It's nice when you have code and need stop in exact place. You modify code and emit that console command. Run with debugger and stop in desired place.
UProfile ends automatically when game exits.
Utrace and Uprofile commands can be passed as arguments for game and that turns them on in an early stage to get info about engine startup.
