英語面試 38 / 96
英語面試

How do you debug a difficult problem?

問題

Job skills IT & Software Development

面試官

How do you debug a difficult problem?

關鍵表達

  • reproduce the bug make the error happen again on purpose
  • narrow it down make the search area smaller
  • the root cause the real reason behind a problem

示範回答

面試官想知道什麼

Your step-by-step thinking process.

  1. Reproduce First, I reproduce the bug and read the error logs carefully.
  2. Narrow Then I narrow it down by testing small parts of the code one by one.
  3. Fix When I find the root cause, I fix it and add a test so it doesn't come back.

輪到你了

在空格裡填入自己的經歷,並大聲說出來。

  1. First, I try to ____.
  2. Then I narrow it down by ____.

追問

What tools do you use for debugging?

必備術語

an error log
a record of what went wrong in a program
a unit test
a small test for one part of the code

Interviewers care about how you think. Say each step out loud.