An interactive debugging tool for C++ based on dynamic slicing and dicing

Main Article Content

Winai Wichaipanitch
Samadzadeh M. H.

Abstract

The main objective of this work was to develop an interactive debugging tool for C++ programs. The tool that was developed id 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 parts:


                PART I : Definitions and Algorithms,


                PART II : Implementation, Testing, and Evaluation.


                This is part II that reports on the overall design of C++Debug, some of its main implementation issues including its complexity, the testing of C++Debug, and its evaluation results.

Article Details

How to Cite
Wichaipanitch, W., & M. H., S. (2003). An interactive debugging tool for C++ based on dynamic slicing and dicing. Frontiers in Engineering Innovation Research, 4, 76–83. Retrieved from https://ph01.tci-thaijo.org/index.php/jermutt/article/view/242343
Section
Research Articles

References

"Bison 1.35 Manual," http:1//www.gnu.org/manual/ bison-1.35/html_mono/ bison.html.gz,Last Update: March 2000, Last Access: April 30,2003.

"CoolAid: The Cool Reference Manual,"http://www.cs.berkeley.edu/~aiken/ftp/coolmanual.ps, Last Update: January 1994, Last Access:April 30, 2003.

"Flex, version 2.5 A Fast Scanner Generator Edition 2.5, March 1995," http://www.gnu.org/manual/flex2.5.4/html_mono/flex.html, LastUpdate: February 23, 2001,Last Access: April 30, 2003.

Keith Brian Gallagher, Using Program Slicing in Software Maintenance, Ph.D. Dissertation, Computer Science Department, University of Maryland, Baltimore County, MD, 1990.

Keith B. 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.

James R. Lyle, Evaluating Variations on Program Slicing for Debugging, Ph.D. Dissertation,Computer Science Department, University of Maryland, College Park, MD, 1984.

John McDermid, Software Engineer's Reference Book, CRC Press, Inc., Boca Raton, Florida,1993.

B. Stroustrup, C++ Programming Language,3rd Edition, Addison-Wesley, Inc., Reading,Massachusetts, 1997.

"UNIX IN A NUTSHELL," http://www.oreilly.com/ catalog/unixcd /chapter /c02 _043.htm,Last Update: November 1998, Last Access: May19, 2003.