Simulated Interactive Debugging

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Noller, Yannic, Chandra, Erick, Chandrashekar, Srinidhi, Choo, Kenny, Jegourel, Cyrille, Kurniawan, Oka, Poskitt, Christopher M.
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910022509789184
author Noller, Yannic
Chandra, Erick
Chandrashekar, Srinidhi
Choo, Kenny
Jegourel, Cyrille
Kurniawan, Oka
Poskitt, Christopher M.
author_facet Noller, Yannic
Chandra, Erick
Chandrashekar, Srinidhi
Choo, Kenny
Jegourel, Cyrille
Kurniawan, Oka
Poskitt, Christopher M.
contents Debugging software, i.e., the localization of faults and their repair, is a key activity in software engineering. Therefore, effective and efficient debugging is one of the core skills a software engineer must develop. However, the teaching of debugging techniques is usually very limited or only taught in indirect ways, e.g., during software projects. As a result, most Computer Science (CS) students learn debugging only in an ad-hoc and unstructured way. In this work, we present our approach called Simulated Interactive Debugging that interactively guides students along the debugging process. The guidance aims to empower the students to repair their solutions and have a proper learning experience. We envision that such guided debugging techniques can be integrated into programming courses early in the CS education curriculum. We developed a prototypical implementation using traditional fault localization techniques and large language models. Students can use features like the automated setting of breakpoints or an interactive chatbot. We designed and executed a small-scale, controlled experiment with eight undergraduate CS students. Based on the responses, we conclude that the participants liked the systematic guidance. They rated the automated setting of breakpoints as most effective, followed by the interactive debugging and chatting, and the breakpoint explanations. In future, we will extend our concept and implementation, and perform more intensive user studies.
format Preprint
id arxiv_https___arxiv_org_abs_2501_09694
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Simulated Interactive Debugging
Noller, Yannic
Chandra, Erick
Chandrashekar, Srinidhi
Choo, Kenny
Jegourel, Cyrille
Kurniawan, Oka
Poskitt, Christopher M.
Software Engineering
Debugging software, i.e., the localization of faults and their repair, is a key activity in software engineering. Therefore, effective and efficient debugging is one of the core skills a software engineer must develop. However, the teaching of debugging techniques is usually very limited or only taught in indirect ways, e.g., during software projects. As a result, most Computer Science (CS) students learn debugging only in an ad-hoc and unstructured way. In this work, we present our approach called Simulated Interactive Debugging that interactively guides students along the debugging process. The guidance aims to empower the students to repair their solutions and have a proper learning experience. We envision that such guided debugging techniques can be integrated into programming courses early in the CS education curriculum. We developed a prototypical implementation using traditional fault localization techniques and large language models. Students can use features like the automated setting of breakpoints or an interactive chatbot. We designed and executed a small-scale, controlled experiment with eight undergraduate CS students. Based on the responses, we conclude that the participants liked the systematic guidance. They rated the automated setting of breakpoints as most effective, followed by the interactive debugging and chatting, and the breakpoint explanations. In future, we will extend our concept and implementation, and perform more intensive user studies.
title Simulated Interactive Debugging
topic Software Engineering
url https://arxiv.org/abs/2501.09694