L3Harris interview question

How would you debug a segmentation fault?