Booz Allen Hamilton interview question

How would you debug a daisy chain of function calls?