An interactive debugging tool for C++ based on dynamic slicing and dicing part I : definition and algorithms

Main Article Content

Winai Wichaipanitch


The main objective of this work was to develop an interactive debugging tool for C++ programs. The tool that was developed is called C++Debug and it uses program slicing and dicing techniques. The design started by including simple statements first and then expanded to pointers, structures, functions, and classes. In order for C++Debug to be more powerful, dynamic slicing rather than static slicing was chosen. The work includes new algorithms that handle Class, Function, and Pointer in C++. The results of this work are reported in two

Article Details

How to Cite
Wichaipanitch, W. (2003). An interactive debugging tool for C++ based on dynamic slicing and dicing part I : definition and algorithms. Journal of Engineering, RMUTT, 3, 52–65. Retrieved from
Research Articles


[1] Keith Brian Gallagher, Using Program Slicing in Software Maintenance, Ph.D. Dissertation.
Computer Science Department, University of Maryland, Baltimore County, MD, 1990.
[2] Keith Brian Gallagher and James R. Lyle,"Using Program Slicing in Software Maintenance," IEEE Transactions on Software Engineering, Vol. 17, No. 8, pp. 751-761,August 1991.
[3] Bogdan Korel, "PELAS-Program Error Locating Assistant System," IEEE Transactions on Software Engineering, Vol. 14, No. 9, pp.1253-1260, September 1988.
[4] Bogdan Korel and Janusz Laski,"Dynamic Program Slicing," Information Processing Letters, Vol. 29, No. 3, pp. 155-163.October 1988.
[5] Bogdan Korel and Janusz Laski, "Dynamic Slicing of Computer Programs," Journal of Systems and Software, Vol. 13, No. 3, pp.187-195, November 1990.
[6] James R. Lyle, Evaluating Variations on Program Slicing for Debugging, Ph.D.Dissertation, Computer Science Department,University of Maryland, College Park, MD,1984.d
[7] Sekaran Nanja, An Interactive Debugging Tool for C Based on Program Slicing and Dicing,Master of Science Thesis, Computer ScienceDepartment, Oklahoma State University,
Still water, OK, May 1990.
[8] Sekaran Nanja and Mansur H. Samadzadeh,"A Slicing/Dicing-Based Debugger for C,"The 8" Annual Pacific Northeast Software Quality Conference, Portland, OR, pp. 204-212,October 1990.
[9] Mansur H. Samadzadeh and Winai Wichaipanitch,"An Interactive Debugging tool for C based on Dynamic Slicing", Proceedings of the 1993 ACM Computer Science Conference, Indianapolis, IN, pp. 30-37, February 1993.
[10] Mark Weiser,"Program Slicing, " Proceedings of the Fifth International Conference on Software Engineering, San Diego, CA, pp.439-449, March 1981.
[11] Mark Weiser,"Programmers Use Slices When Debugging," Communications of the ACM,Vol. 25, No. 7, pp. 446-452, July 1982.
[12] Mark Weiser, "Program Slicing," IEEE Transactions on Software Engineering, Vol.SE-10, No. 4, pp. 352-357, July 1984.
[13] Mark Weiser and James R. Lyle,"Experiments on Slicing-Based Debugging Aids," a paper presented at The First Workshop on Empirical Studies of Programmers, (Soloway, E. and Iyengar, S., Editors), Ablex Publishing Corporation, Norwood, NJ, pp. 187-197,1986.
[14] "UNIX IN A NUTSHELL," http:/,Last Update: November 1998, Last Access:May 19, 2003.