TY - GEN
T1 - How do developers toggle breakpoints? observational studies
AU - Petrillo, Fabio
AU - Mandian, Hyan
AU - Yamashita, Aiko
AU - Khomh, Foutse
AU - Gueheneuc, Yann Gael
N1 - Publisher Copyright:
© 2017 IEEE.
PY - 2017/8/11
Y1 - 2017/8/11
N2 - One of the most important tasks in software maintenance is debugging. Developers perform debugging to fix faults and implement new features. Usually they use interactive development environments to perform their debugging sessions. To start an interactive debugging session, developers must set breakpoints. Choosing where to set breakpoints is a non-trivial task, yet few studies have investigated how developers set breakpoints during interactive debugging sessions. To understand how developers set breakpoints, we analysed more than 10 hours of 45 video-recorded debugging sessions, where a total of 307 breakpoints were set. We used the videos from two independent studies involving three software systems. We could observe that: (1) considerable time is spent by developers until they are able to set the first breakpoint; (2) when developers toggle breakpoints carefully, they complete tasks faster than developers who set (potential useless) breakpoints quickly; and (3) different developers set breakpoints in similar locations while working (independently) on the same tasks or different tasks. We discuss some implications of our observations for debugging activities.
AB - One of the most important tasks in software maintenance is debugging. Developers perform debugging to fix faults and implement new features. Usually they use interactive development environments to perform their debugging sessions. To start an interactive debugging session, developers must set breakpoints. Choosing where to set breakpoints is a non-trivial task, yet few studies have investigated how developers set breakpoints during interactive debugging sessions. To understand how developers set breakpoints, we analysed more than 10 hours of 45 video-recorded debugging sessions, where a total of 307 breakpoints were set. We used the videos from two independent studies involving three software systems. We could observe that: (1) considerable time is spent by developers until they are able to set the first breakpoint; (2) when developers toggle breakpoints carefully, they complete tasks faster than developers who set (potential useless) breakpoints quickly; and (3) different developers set breakpoints in similar locations while working (independently) on the same tasks or different tasks. We discuss some implications of our observations for debugging activities.
KW - Breakpoints
KW - Debugging
KW - Empirical software engineering
KW - Interactive debugging
UR - https://www.scopus.com/pages/publications/85029415238
U2 - 10.1109/QRS.2017.39
DO - 10.1109/QRS.2017.39
M3 - Contribution to conference proceedings
AN - SCOPUS:85029415238
T3 - Proceedings - 2017 IEEE International Conference on Software Quality, Reliability and Security, QRS 2017
SP - 285
EP - 295
BT - Proceedings - 2017 IEEE International Conference on Software Quality, Reliability and Security, QRS 2017
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 17th IEEE International Conference on Software Quality, Reliability and Security, QRS 2017
Y2 - 25 July 2017 through 29 July 2017
ER -