Title :
Using the debugger as an integral part of teaching CS1
Author :
Cross, James H., II ; Hendrix, Dean T. ; Barowski, Larry A.
Author_Institution :
Auburn Univ., AL, USA
Abstract :
Traditionally, using a debugger has had the connotation of finding and removing defects. In this paper and presentation, we explore the use of a modern integrated debugger as a program understanding tool for novice programming students in CS1. With the move to Java in the first course, instructors and students are faced with either ignoring the details of object-oriented concept or with explaining the concepts in a way that novices can understand. We show how the debugger can be used to depict the initial construction of an object, the object´s inherited members, and polymorphic calls to the object´s methods. Although each of these concepts can be difficult for beginning programmers, using the debugger to explicitly illustrate these concepts provides students with an opportunity for a much deeper understanding of their programs.
Keywords :
Java; computer science education; object-oriented programming; program debugging; teaching; CS1 teaching; Java; beginning programmers; debugger; instructors; jGRASP; novice programming students; object inherited members; object initial construction; polymorphic calls; program understanding tool; students; Computer bugs; Computer science; Costs; Debugging; Education; Educational institutions; Java; Object oriented programming; Programming profession; Testing;
Conference_Titel :
Frontiers in Education, 2002. FIE 2002. 32nd Annual
Print_ISBN :
0-7803-7444-4
DOI :
10.1109/FIE.2002.1158137