Projects per year
Abstract
Researchers have developed numerous debugging approaches to help programmers in the debugging process, but these approaches are rarely used in practice. In this paper, we investigate how programmers debug their code and what researchers should consider when developing debugging approaches. We conducted an online questionnaire where 102 programmers provided information about recently fixed bugs. We found that the majority of bugs (69.6 %) are semantic bugs. Memory and concurrency bugs do not occur as frequently (6.9 % and 8.8 %), but they consume more debugging time. Locating a bug is more difficult than reproducing and fixing it. Programmers often use only IDE build-in tools for debugging. Furthermore, programmers frequently use a replication-observation-deduction pattern when debugging. These results suggest that debugging support is particularly valuable for memory and concurrency bugs. Furthermore, researchers should focus on the fault localization phase and integrate their tools into commonly used IDEs.
Original language | English |
---|---|
Title of host publication | Proceedings - 2021 IEEE/ACM 8th International Workshop on Software Engineering Research and Industrial Practice, SER and IP 2021 |
Publisher | IEEE Computer Society |
Pages | 37-40 |
Number of pages | 4 |
ISBN (Electronic) | 9781665444767 |
DOIs | |
Publication status | Published - Jun 2021 |
Publication series
Name | Proceedings - 2021 IEEE/ACM 8th International Workshop on Software Engineering Research and Industrial Practice, SER and IP 2021 |
---|
Keywords
- debugging in practice
- user questionnaire
ASJC Scopus subject areas
- Software
- Decision Sciences (miscellaneous)
Fields of Expertise
- Information, Communication & Computing
Treatment code (Nähere Zuordnung)
- Basic - Fundamental (Grundlagenforschung)
Fingerprint
Dive into the research topics of 'What we can learn from how programmers debug their code'. Together they form a unique fingerprint.Projects
- 1 Finished
-
FWF - AMADEUS - Automated Debugging in Use
Hofer, B. G. (Co-Investigator (CoI))
1/01/20 → 30/04/24
Project: Research project