Pregunta de entrevista de BAE Systems

How you would go about solving a code bug?