Title :
Monitoring with behavior view diagrams for debugging
Author :
Liang, Donglin ; Xu, Kai
Author_Institution :
Minnesota Univ., Minneapolis, MN, USA
Abstract :
UML sequence diagrams are widely used during requirements analysis and design for specifying the expected message exchanges among a set of objects in various scenarios for the program to perform a certain task. In this paper, we present the behavior view diagrams, a type of extended sequence diagrams, to facilitate execution monitoring during debugging. Using a behavior view diagram, software developers can precisely specify the runtime objects whose behaviors will be monitored during debugging. Software developers can also specify the important message exchanges to be observed among these objects during the progress of various scenarios, and may further define the monitoring actions to be performed for inspecting the program state when a message exchange is observed. We also present a debugger that can automatically monitor the program execution using the information specified in a behavior view diagram. Through this monitoring, the debugger can not only check whether the scenarios are progressed as intended, but also check whether the actions performed by the program have the the desired effects on the program states. Therefore, it will be useful for detecting and localizing bugs.
Keywords :
Unified Modeling Language; formal specification; program debugging; system monitoring; UML sequence diagram; behavior view diagram; extended sequence diagram; message exchange specification; program bug detection; program bug localization; program debugging; program execution monitoring; program state inspection; requirements analysis; software development; Computer bugs; Computerized monitoring; Inspection; Performance analysis; Programming; Runtime; Software debugging; Software performance; Software systems; Unified modeling language;
Conference_Titel :
Software Engineering Conference, 2005. APSEC '05. 12th Asia-Pacific
Print_ISBN :
0-7695-2465-6
DOI :
10.1109/APSEC.2005.82