Reverse execution of programs

  • Authors:
  • Bitan Biswas;R. Mall

  • Affiliations:
  • Silicon Automation Systems, Bangalore, India;School of Computing, Curtin University of Technology, Perth, Australia

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

Conventional debuggers do not allow users to go back and examine the program states at statements which have already been executed. In case the user wants to examine the program state at a statement which was executed sometime back, he is forced to restart the entire debugging process. To overcome this problem, we examine the issue of reverse execution of programs. To this end, we introduce the concept of inverse of a statement. We describe our implementation of a debugger which can execute C programs in either forward or backward direction depending upon an option set by the user. Our approach is easily extendible to other programming languages.