Debugging a computer program by simulating execution forwards an

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

G06F 1100

Patent

active

057845522

ABSTRACT:
A computer program is executed in a forward direction to create a current state of registers and memory for the program. During the forward execution of the program, the pre-existing values of registers and memory changed by each instruction are recorded in a main log. During interactive debugging, reverse execution is simulated by displaying the contents of specified registers or memory locations. For each specified register or memory location, the main log is searched in a forward direction beginning at a specified time in the past and continuing until a value is found, or until the end of the main log is reached and a value is taken from the current state for the computer program. After simulated execution in reverse, the user may specify a changed value for a specified register or memory location, and then forward instruction interpretation is begun using the changed value, without changing the current state. New values of registers and memory locations generated by forward interpretation are recorded in an alternative log. Values of registers and memory accessed by forward-interpreted instructions are fetched by first searching the alternative log in a reverse direction, and when a value is not found in the alternative log, the main log is searched in a forward direction as described above. Moreover, at any time during forward interpretation, the user may specify a changed value, the change is logged in an alternative log, and forward interpretation continues.

REFERENCES:
patent: 4080650 (1978-03-01), Beckett
patent: 4308581 (1981-12-01), Raghunathan
patent: 4866665 (1989-09-01), Haswell-Smith
patent: 5038348 (1991-08-01), Yoda et al.
patent: 5124989 (1992-06-01), Padawer et al.
patent: 5148528 (1992-09-01), Fite et al.
Jong-Deok Choi et al., "Techniques for Debugging Parallel Programs with Flowback Analysis," ACM Transactions on Programming Languages & Systems, vol. 13, No. 4 (Oct. 1991), Association for Computing Machinery, New York, pp. 491-530.
Colin Hunter et al., "DOS at RISC," BYTE (Nov. 1989), McGraw-Hill, Inc., Peterborough, New Hampshire, p. 361-368.
Steven S. Muchnick et al., "Program Flow Analysis: Theory and Applications," Prentice-Hall, Inc., Englewood Cliffs, New Jersey (1981), pp. 160-297.
Henry M. Levy et al., Computer Programming and Architecture, The VAX 11, Digital Equipment Corp., Maynard, Mass. (1980), pp. 255, 282, 371-383.
R.M. Balzer, "EXDAMS--EXtendable Debugging and Monitoring System," AFIPS Proceedings, Spring Joint Computer Conference (1969) vol. 33, AFIPS Press, Montvale, N.J., pp. 567-580.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Debugging a computer program by simulating execution forwards an does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Debugging a computer program by simulating execution forwards an, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Debugging a computer program by simulating execution forwards an will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-1656159

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.