[google面试题]Describe a good strategy to find a bug in a program.
Answer:This question has many possible answers,and is the sort of open‐endedquestion that interviewers occasionally ask.A good answer to this question mightinclude identifying the portion of the program in which the bug appears to beoccurring based on its behavior,as well as using breakpoints and as tepper to step through the program.Any answers that involve thinking about possible sources of the problem and finding ways to limit the search scope of the bug are good answers.
页:
[1]