Sollicitatievraag bij Genetec

How do you debug a code that has performance issues, what tools do you use?