What is the correct way to debug the issue in engine code?

I want to trace some details in plugin loading.

Want to print some thing in the middle and trace the variable change, but any small modification of the engine code would cause to build the whole thing again.

I want to know for engine developers, how you guys

  • debug and trace
  • quick build with minimum changes.

Please provide some clue, thank you very much ! :slight_smile:

Debugging the engine is no different from debugging any other code: you set breakpoints, log etc. Full rebuild is only required the first time you build the engine. Subsequent builds will only re-build CPP files you’ve changed. Of course it would take more time if you changed a header file that is included everywhere in the engine (like Core/Engine public files)