arrow
Return

Reusing Bugged Source Code to Support Novice Programmers in Debugging Tasks

delete2019-11-22
delete9
PRE
AI
P
Pasquale Ardimento *
M
Mario Luca Bernardi
M
Marta Cimitile
G
Giuseppe De Ruvo
DOI:10.1145/3355616delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Novice programmers often encounter difficulties performing debugging tasks effectively. Even if modern development environments (IDEs) provide high-level support for navigating through code elements and for identifying the right conditions leading to the bug, debugging still requires considerable human effort. Programmers usually have to make hypotheses that are based on both program state evolution and their past debugging experiences. To mitigate this effort and allow novice programmers to gain debugging experience quickly, we propose an approach based on the reuse of existing bugs of open source systems to provide informed guidance from the failure site to the fault position. The goal is to help novices in reasoning on the most promising paths to follow and conditions to define. We implemented this approach as a tool that exploits the knowledge about fault and bug position in the system, as long as any bug of the system is known. The effectiveness of the proposed approach is validated through a quasi-experiment that qualitatively and quantitatively evaluates how the debugging performances of the students change when they are trained using the tool.
Keywords:
Debugging
code navigation
teaching debugging
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

A
ACM Transactions on Quantum Computing
IF:
6.8
Papers:
539
Citations:
508

Organization

U
universita degli studi di bari aldo moro
Scholars:
2.1W
Papers: 1.6W
Citations: 9
U
universita telematica giustino fortunato
Scholars:
60
Papers: 86
Citations: 0
U
universita degli studi di roma unitelma sapienza
Scholars:
89
Papers: 164
Citations: 0
researcher View more organizations