TY - GEN
T1 - Executable program documentation based on debugging break points
AU - Cheng, Yung Pin
AU - Chen, Jhih Hao
AU - Yu, Yu Ying
N1 - Publisher Copyright:
© 2013 IEEE.
PY - 2013
Y1 - 2013
N2 - Understanding an unfamiliar program is always a daunting task for any programmer, either experienced or inexperienced. Many studies have shown that even an experienced programmer who is already familiar with the code may still need to rediscover the code frequently during maintenance activities. Compared to that tracing the source code of an unfamiliar program is a totally different process of comprehension. Difficulties in such a process can be compounded if the code has poor or little internal program documentation. In practice, internal program documentation is often neglected or receives much less attention while most documentation techniques are designed to help programmers deal with familiar code, not unfamiliar code. In this paper, a novel internal program documentation method is proposed. In the approach, the multimedia documents, such as slides and voice recording, can be created along with a sequence of debugging break points, where the sequence of break points and its associated multimedia documents form a trace case. We show that trace cases can be very useful in documenting major control flows of a program using examples so that the time needed to construct a program model for understanding can be shortened. To demonstrate the idea, a prototype tool called polyTraceAid has been implemented as a plug-in in Visual Studio.
AB - Understanding an unfamiliar program is always a daunting task for any programmer, either experienced or inexperienced. Many studies have shown that even an experienced programmer who is already familiar with the code may still need to rediscover the code frequently during maintenance activities. Compared to that tracing the source code of an unfamiliar program is a totally different process of comprehension. Difficulties in such a process can be compounded if the code has poor or little internal program documentation. In practice, internal program documentation is often neglected or receives much less attention while most documentation techniques are designed to help programmers deal with familiar code, not unfamiliar code. In this paper, a novel internal program documentation method is proposed. In the approach, the multimedia documents, such as slides and voice recording, can be created along with a sequence of debugging break points, where the sequence of break points and its associated multimedia documents form a trace case. We show that trace cases can be very useful in documenting major control flows of a program using examples so that the time needed to construct a program model for understanding can be shortened. To demonstrate the idea, a prototype tool called polyTraceAid has been implemented as a plug-in in Visual Studio.
KW - Debugger
KW - Executable documents
KW - Multimedia documents
KW - Program comprehension
KW - Program documentation
UR - http://www.scopus.com/inward/record.url?scp=84936870554&partnerID=8YFLogxK
U2 - 10.1109/APSEC.2013.36
DO - 10.1109/APSEC.2013.36
M3 - 會議論文篇章
AN - SCOPUS:84936870554
SN - 9780769549224
T3 - Proceedings - Asia-Pacific Software Engineering Conference, APSEC
SP - 199
EP - 206
BT - APSEC 2013 - Proceedings of the 20th Asia-Pacific Software Engineering Conference
A2 - Muenchaisri, Pornsiri
A2 - Rothermel, Gregg
PB - IEEE Computer Society
T2 - 20th Asia-Pacific Software Engineering Conference, APSEC 2013
Y2 - 2 December 2013 through 5 December 2013
ER -