Creating efficient and bug-free code can be difficult. Therefore, the engine exposes a number of tools to help developers in this regard, allowing easy identification of bugs and visualization of performance problems.
It is important to keep the debugging and profiling tools in mind at all times when writing both game and engine logic, in order to make sure that your code runs optimally and can be easily scanned for issues. Simply adding a few game log warnings can be vital for saving a bunch of time when resolving future issues!
In this chapter we will cover the following topics: