Qualcomm Interview Question

How would you debug a piece of code without access to a debugger or an IDE?

Interview Answers

Anonymous

Jul 16, 2014

I answered that I would use print statements in between to check variable states. In hindsight, I feel that the right answer would have been unit tests.

1

Anonymous

Dec 4, 2015

Putting some logger on applicable places.