Debugging with Stack Overflow: Web Search Behavior in Novice and Expert Programmers

被引:10
|
作者
Li, Annie [1 ]
Endres, Madeline [1 ]
Weimer, Westley [1 ]
机构
[1] Univ Michigan, CSE, Ann Arbor, MI 48109 USA
基金
美国国家科学基金会;
关键词
Stack Overflow; Controlled Human Study; Online Search Behavior; Debugging; Programming Experience;
D O I
10.1109/ICSE-SEET55299.2022.9794240
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Debugging can be challenging for novice and expert programmers alike. Programmers routinely turn to online resources such as Stack Overflow for help, but understanding of debugging search practices, as well as tool support to find debugging resources, remains limited. Existing tools that mine online help forums are generally not aimed at novices, and programmers face varying levels of success when looking for online resources. Furthermore, training online code search skills is pedagogically challenging, as we have little understanding of how expertise impacts programmers' web search behavior while debugging code. We help fill these knowledge gaps with the results of a study of 40 programmers investigating differences in Stack Overflow search behavior at three levels of expertise: novices, experienced programmers who are novices in Python (the language we use in our study), and experienced Python programmers. We observe significant differences between all three levels in their ability to find posts helpful for debugging a given error, with both general and language-specific expertise facilitating Stack Overflow search efficacy and debugging success. We also conduct an exploratory investigation of factors that correlate with this difference, such as the display rank of the selected link and the number of links checked per search query. We conclude with an analysis of how online search behavior and results vary by Python error type. Our findings can inform online code search pedagogy, as well as inform the development of future automated tools.
引用
收藏
页码:69 / 81
页数:13
相关论文
共 50 条
  • [1] DEBUGGING COMPUTER-PROGRAMS BY EXPERT AND NOVICE PROGRAMMERS
    GUGERTY, L
    OLSON, GM
    [J]. BULLETIN OF THE PSYCHONOMIC SOCIETY, 1985, 23 (04) : 289 - 289
  • [2] Debugging by novice programmers
    Lister, Raymond
    [J]. COMPUTER SCIENCE EDUCATION, 2008, 18 (02) : 65 - 66
  • [3] StackDoc - A Stack Overflow Plug-in for Novice Programmers that Integrates Q&A with API Examples
    Venigalla, Akhila Sri Manasa
    Lakkundi, Chaitanya S.
    Agrahari, Vartika
    Chimalakonda, Sridhar
    [J]. 2019 IEEE 19TH INTERNATIONAL CONFERENCE ON ADVANCED LEARNING TECHNOLOGIES (ICALT 2019), 2019, : 247 - 251
  • [4] STEREOTYPED PROGRAM DEBUGGING - AN AID FOR NOVICE PROGRAMMERS
    WERTZ, H
    [J]. INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES, 1982, 16 (04): : 379 - 392
  • [5] Towards Generalizing Expert Programmers' Suggestions for Novice Programmers
    Ichinco, Michelle
    Zemach, Aaron
    Kelleher, Caitlin
    [J]. 2013 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC 2013), 2013, : 143 - 150
  • [6] KNOWLEDGE ORGANIZATION OF EXPERT AND NOVICE PROGRAMMERS
    REITMAN, JS
    MCKEITHEN, KB
    RUETER, HR
    HIRTLE, S
    [J]. BULLETIN OF THE PSYCHONOMIC SOCIETY, 1979, 14 (04) : 238 - 238
  • [7] A study on the program comprehension and debugging processes of novice programmers
    Aljunid, Syed Ahmad
    Zin, Abdullah Mohd
    Shukur, Zarina
    [J]. Journal of Software Engineering, 2012, 6 (01): : 1 - 9
  • [8] An Investigation of the Drivers of Novice Programmers' Intentions to Use Web Search and GenAI
    Skripchuk, James
    Bacher, John
    Price, Thomas
    [J]. 20TH ANNUAL ACM CONFERENCE ON INTERNATIONAL COMPUTING EDUCATION RESEARCH, ICER 2024, VOL 1, 2024, : 487 - 501
  • [9] Question's Advisor A Wizard Interface to Teach Novice Programmers How to Post "Better" Questions in Stack Overflow
    Remigio, Jose
    Aragao, Franck
    Souza, Cleyton
    Costa, Evandro
    Fechine, Joseana
    [J]. ICEIS: PROCEEDINGS OF THE 19TH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS - VOL 1, 2017, : 471 - 478
  • [10] EXPLORATORY COMPARISON OF EXPERT AND NOVICE PAIR PROGRAMMERS
    Hofer, Andreas
    [J]. COMPUTING AND INFORMATICS, 2010, 29 (01) : 73 - 91