Broadcom interview question

How would you debug a C program.