Patch Suggestions Change How Developers Debug"/> Patch Suggestions Change How Developers Debug"/>
Automated patch generation is evolving the debugging process. While prior research has shown that patch suggestions improve debugging success, an understanding of their influences on the full process could inform interventions to improve outcomes and mitigate deception. We conducted a controlled eye tracking experiment, with interviews, with 43 professional and student developers debugging medium-sized Java programs, either without a patch suggestion, with a correct patch suggestion, or with an incorrect patch suggestion that passed tests. We present an interview-derived model of the influence of patch suggestions on debugging, with effects on fault localization and hypothesis formation validated with gaze and IDE interaction data. With both correct and incorrect suggestions, developers localized defects at a 3.1–3.3x faster rate (p < .001), devoted 1.4x more attention to buggy than non-buggy code (p = .02), and had lower odds of using the debugger (OR = 0.25, p = .02). We observed signals of suspicion toward incorrect suggestions: developers allocated 1.7x more of their comprehension time (p = .02) to correct patch suggestions than incorrect ones and had lower odds of using incorrect patches as written than correct ones (OR = 0.22, p = .01). Developers reported they strategically timed patch suggestion use, using them early to drive fault localization and hypothesis formation, or delaying use to mitigate deception or undeveloped mental models. Developers reported high tolerances for incorrect patch suggestions, as long as they were not deceptive. Our findings improve our understanding of how developers debug as part of the modern software engineering process and have implications for AI and repair tool design.
@inproceedings{Newman27icse,
author = {Kaia Newman and Marie Shvakel and Yuriy Brun and Andrew Begel and Claire {Le Goues}},
title =
{Patch Suggestions Change How Developers Debug},
booktitle = {Proceedings of the 49th International Conference on Software Engineering (ICSE)},
venue = {ICSE},
address = {Dublin, Ireland},
month = {April},
date = {28--30},
year = {2027},
accept = {$\frac{119}{2,375} \approx 5\%$ (direct accept, without revision)},
abstract = {Automated patch generation is evolving the debugging
process. While prior research has shown that patch suggestions improve
debugging success, an understanding of their influences on the full process
could inform interventions to improve outcomes and mitigate deception. We
conducted a controlled eye tracking experiment, with interviews, with 43
professional and student developers debugging medium-sized Java programs,
either without a patch suggestion, with a correct patch suggestion, or with
an incorrect patch suggestion that passed tests. We present an
interview-derived model of the influence of patch suggestions on debugging,
with effects on fault localization and hypothesis formation validated with
gaze and IDE interaction data. With both correct and incorrect suggestions,
developers localized defects at a 3.1--3.3x faster rate (p < .001), devoted
1.4x more attention to buggy than non-buggy code (p = .02), and had lower
odds of using the debugger (OR = 0.25, p = .02). We observed signals of
suspicion toward incorrect suggestions: developers allocated 1.7x more of
their comprehension time (p = .02) to correct patch suggestions than
incorrect ones and had lower odds of using incorrect patches as written
than correct ones (OR = 0.22, p = .01). Developers reported they
strategically timed patch suggestion use, using them early to drive fault
localization and hypothesis formation, or delaying use to mitigate
deception or undeveloped mental models. Developers reported high tolerances
for incorrect patch suggestions, as long as they were not deceptive. Our
findings improve our understanding of how developers debug as part of the
modern software engineering process and have implications for AI and repair
tool design.},
}