×

Debugging with set verbosity level during read and analysis of executable code and associated comments while logging according to set verbosity level

  • US 7,231,633 B2
  • Filed: 07/15/2003
  • Issued: 06/12/2007
  • Est. Priority Date: 07/15/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computerized method for debugging a computer source code having a plurality of lines of code comprising:

  • creating a separate computer source code to hold an annotated source code;

    setting a verbosity level to a predetermined level;

    traversing through said computer source code by reading and analyzing a portion of said computer source code from a start to an end of said computer source code one portion of said computer source code at a time, said reading and analyzing comprising;

    reading said portion of said computer source code, said portion of said computer source code comprising executable statements and comments;

    determining if said portion of said computer source code comprises an executable statement;

    writing said executable statement to said annotated source code if said portion of said computer source code comprises said executable statement;

    reading said verbosity level to determine desired content for said annotated source code;

    constructing an output statement comprising said desired content for said executable statement according to said verbosity level, said output statement further comprising commands that write said desired content to a log file;

    writing said output statement to said annotated source code; and

    repeating said steps of reading and analyzing said portion of said computer source code on a next portion of said computer source code until said end of said computer source code is reached;

    causing said annotated source code to be executed in place of said computer source code such that said annotated source code operation is recorded in said log file; and

    evaluating said log file to find problems with said computer source code.

View all claims
  • 8 Assignments
Timeline View
Assignment View
    ×
    ×