The simplest form of tracing is to use a formatted printf()
statement in the code for printing debug messages. Visual inspection of intermediate values and addresses can help you understand the progress of program execution. You can add printf()
statements to your code to be processed during x86 emulation, or AIE emulation, and remove them or comment them out for hardware builds. To help identify which kernel is printing which line the X86SIM_KERNEL_NAME
macro can be useful.