• Title of article

    The value of slicing while debugging

  • Author/Authors

    Margaret Ann Francel، نويسنده , , R.E. Kurt Stirewalt and Spencer Rugaber ، نويسنده ,

  • Issue Information
    ماهنامه با شماره پیاپی سال 2001
  • Pages
    19
  • From page
    151
  • To page
    169
  • Abstract
    The paper describes a study that explored the relationship of program slicing to (1) code understanding gained while debugging, and to (2) a debuggerʹs ability to localize the program fault area. The study included two experiments. The first experiment compared the program understanding abilities of two classes of debuggers: those who slice while debugging and those who do not. For debugging purposes, a slice can be thought of as a minimal subprogram of the original code that contains the program faults. Those who only examine statements within a slice for correctness are considered slicers; all others are considered non-slicers. Using accuracy of subprogram construction as a measure of understanding, it was determined that slicers have a better understanding of the code after debugging. The second experiment compared debugger fault localization abilities before and after a training session on how to use slicing in debugging. Using time as a measure of ability, it was shown that slicing while debugging improves a debuggerʹs ability to localize the program fault area.
  • Keywords
    Debugging , Reverse engineering , Program slicing
  • Journal title
    Science of Computer Programming
  • Serial Year
    2001
  • Journal title
    Science of Computer Programming
  • Record number

    1079605