×

Method and apparatus for transparent backtracking

  • US 6,446,057 B1
  • Filed: 12/04/2000
  • Issued: 09/03/2002
  • Est. Priority Date: 10/24/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of backtracking in a program executable in a memory medium of a computer system comprising a computer program written in a general purpose computer programming language comprising:

  • instantiating a choice point in an executable computer program in a memory medium, said choice point identifying a decision point in said program, at least one alternative choice being linked with said choice point;

    preserving modifications to data in said program as defined at said choice point as a data state portion of part of said program'"'"'s processing state;

    specifying a catch point associated with a point of execution prior to said choice point as a control state portion of said program'"'"'s processing state;

    examining said choice point to find said at least one alternative choice;

    traversing said choice point to evaluate the validity of said at least one alternative choice; and

    restoring said program to said processing state at said catch point associated with said choice point by throwing an exception to said catch point and undoing said modifications when said at least one alternative choice is invalid.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×