• DocumentCode
    3484707
  • Title

    Memview: a pedagogically-motivated visual debugger

  • Author

    Gries, Paul ; Mnih, Volodymyr ; Taylor, Jonathan ; Wilson, Greg ; Zamparo, Lee

  • Author_Institution
    Dept. of Comput. Sci., Toronto Univ., Ont.
  • fYear
    2005
  • fDate
    19-22 Oct. 2005
  • Lastpage
    11
  • Abstract
    Novice programmers often have difficulty understanding the interactions between the objects in their programs. Many studies have shown that visual representations of computer memory can aid students\´ comprehension. One such representation, developed by Gries and Gries, divides computer memory into three areas: one for the call stack, one for static objects allocated on the heap ("static space"), and one for normal heap objects ("object space"). Memview, an extension to the DrJava IDE developed at Rice University, is a dynamic, interactive display of computer memory based on this model. Its simple three-pane representation shows novices the life cycle of objects, and helps them understand three key concepts: the notion of an "address" in memory, how storing an address creates a reference from one object to another, and the differences between the heap, the stack, and static space. User tests conducted during the summer of 2004 demonstrated that Memview facilitated faster completion of common introductory programming problems. Since then, Memview has been used in an introductory programming course to illustrate basic data structures such as linked lists. We are presently refining the tool based on further feedback from students and instructors
  • Keywords
    computer debugging; computer science education; educational courses; educational institutions; DrJava IDE; Rice University; address; call stack; computer memory; interactive displays; introductory programming course; introductory programming problems; normal heap objects; object space; static objects; static space; three-pane representation; visual debugger; Computer displays; Computer science; Data structures; Data visualization; Debugging; Feedback; Java; Object oriented modeling; Programming profession; Testing; CS1; CS2; Debugging Aids; Java; Program Visualization;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Frontiers in Education, 2005. FIE '05. Proceedings 35th Annual Conference
  • Conference_Location
    Indianopolis, IN
  • ISSN
    0190-5848
  • Print_ISBN
    0-7803-9077-6
  • Type

    conf

  • DOI
    10.1109/FIE.2005.1612204
  • Filename
    1612204