MathWorks interview question

Give an example where you managed to debug a complex program.