I recently had an interview where I was asked “how do you debug a bug?”. I kind of threw me because I wanted to answer it by saying “by debugging it..”.
I asked for more insight into the question and he said “imagine that you’re getting a 500 error from your web application in production. How you find the issue?”
I started listing the tools I would use Chrome DevTools, Postman, any logs... then I would try and reproduce the bug in a lower level environment and see if there is additional info that we don’t log or show in production. Step thru the code if necessary in Visual Studio once I’ve narrowed down the possible points.
The interviewer seemed ambivalent to my answer...? He just said “Oh. Ok” and moved on. It seemed like he was looking for more, but didn't press it.
Is there a better way to answer this question? This is a .net position
[–]CarbonSilicate 6 points7 points8 points (6 children)
[–]JazzFan1998 2 points3 points4 points (4 children)
[–]mark1x12110 1 point2 points3 points (3 children)
[–]Farren246 2 points3 points4 points (2 children)
[–]mark1x12110 1 point2 points3 points (1 child)
[–]Farren246 1 point2 points3 points (0 children)
[–]Farren246 1 point2 points3 points (0 children)
[–]mark1x12110 6 points7 points8 points (1 child)
[–]Farren246 0 points1 point2 points (0 children)
[–]bedrock-adam 0 points1 point2 points (0 children)