Xilinx interview question

Explain your thought process when debugging your code.