• DocumentCode
    2700439
  • Title

    Dynamic slicing object-oriented programs for debugging

  • Author

    Xu, Baowen ; Chen, Zhenqiang ; Yang, Hongji

  • Author_Institution
    Dept. of Comput. Sci. & Eng., Southeast Univ., Nanjing, China
  • fYear
    2002
  • fDate
    2002
  • Firstpage
    115
  • Lastpage
    122
  • Abstract
    Dynamic program slicing is an effective technique for narrowing the errors to the relevant parts of a program when debugging. Given a slicing criterion, the dynamic slice contains only those statements that actually affect the variables in the slicing criterion. We propose a method to dynamically slice object-oriented (OO) programs based on dependence analysis. It uses the object program dependence graph and other static information to reduce the information to be traced during program execution. It deals with OO features such as inheritance, polymorphism and dynamic bindings. Based on this model, we present methods to slice methods, objects and classes. We also modify the slicing criterion to fit for debugging.
  • Keywords
    graph theory; inheritance; object-oriented programming; program debugging; program slicing; dependence analysis; dynamic binding; dynamic program slicing; inheritance; object program dependence graph; object-oriented program slicing; polymorphism; program debugging; program execution; static information; Computer crime; Conferences; Laboratories; Manipulator dynamics; Object oriented modeling; Open source software; Software debugging; Software engineering; Software maintenance; Software testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Source Code Analysis and Manipulation, 2002. Proceedings. Second IEEE International Workshop on
  • Print_ISBN
    0-7695-1793-5
  • Type

    conf

  • DOI
    10.1109/SCAM.2002.1134111
  • Filename
    1134111