Method and system for recording program information in the event of a failure
First Claim
1. A method for obtaining information regarding events to be taking place within a software program to be used by a customer on a computing device, comprising:
- including, for each of a number of selected events, an indicator within the software program that records the selected event, the indicator including a text string created by a software developer and descriptive of the selected event;
assigning and including within the software program a unique tag corresponding to each text string;
creating an index mapping each tag to the corresponding text string;
prior to retail sale, removing each text string from the software program;
releasing the software program, which includes the unique tags, for retail sale;
after releasing the software program for retail sale, receiving a file of events as indicated by at least a portion of the unique tags included in the software program, the file being created when the software program is run on the computing device used by the customer;
processing the file by using the index to map each unique tag in the file with its corresponding text string to generate a text string record of the events which took place within the software program; and
outputting the text string record of the events which took place within the software program.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides a method and system for use by software program developers. More specifically, the invention involves a system and method that allows software developers to more effectively diagnose bugs existing in software programs that may result in a crash of the program. Using this method, a software developer will author program code that includes LogEvent calls, which indicate events taking place that are to be logged. The developer will include in the LogEvent call a text string that is meaningful to the software developer and that indicates what the program is doing at a certain event. A generation tool inserts event tags that correspond to the text string and creates an index file mapping the text strings to the appropriate event tags. The text strings are then removed from the program code prior to retail sale, leaving the event tags in place. As the program runs, a log file is created of the events as indicated by the event tags. If the program should crash, the log file is closed and is sent to the software company. In one embodiment, the developer may include a flag that is used to remove any sensitive or personal information prior to the log file being sent to the software company. Once at the software company, the log file is processed to generate a text file by mapping the event tags with the previously removed text strings. Using this text file, the software developer can determine the events leading up to the crash of the program and can more easily develop a solution to the crash.
22 Citations
15 Claims
-
1. A method for obtaining information regarding events to be taking place within a software program to be used by a customer on a computing device, comprising:
-
including, for each of a number of selected events, an indicator within the software program that records the selected event, the indicator including a text string created by a software developer and descriptive of the selected event; assigning and including within the software program a unique tag corresponding to each text string; creating an index mapping each tag to the corresponding text string; prior to retail sale, removing each text string from the software program; releasing the software program, which includes the unique tags, for retail sale; after releasing the software program for retail sale, receiving a file of events as indicated by at least a portion of the unique tags included in the software program, the file being created when the software program is run on the computing device used by the customer; processing the file by using the index to map each unique tag in the file with its corresponding text string to generate a text string record of the events which took place within the software program; and outputting the text string record of the events which took place within the software program. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 13, 14)
-
-
9. A computer storage media having computer-executable instructions for performing a method for obtaining information regarding events to be taking place within a software program to be used by a customer on a computing device, comprising:
-
searching for a text string within the software program created by a software developer and descriptive of a selected event; assigning and including within the software program a unique tag corresponding to each text string found; and creating an index mapping each tag to the corresponding text string; prior to retail sale, removing each text string from the software program; releasing the software program, which includes the unique tags, for retail sale; after releasing the software program for retail sale, receiving a file of events as indicated by at least a portion of the unique tags included in the software program, the file being created when the software program is run on the computing device used by the customer; processing the file by using the index to map each unique tag in the file with its corresponding text string to generate a text string record of the events which took place within the software program; and outputting the text string record of the events which took place within the software program.
-
-
10. A computer system having a processor, a memory, and an operating environment, the computer system operable to execute a method for obtaining information regarding events to be taking place within a software program to be used by a customer on a computing device, comprising:
-
searching for a text string within the software program created by a software developer and descriptive of a selected event; assigning and including within the software program a unique tag corresponding to each text string found; creating an index mapping each tag to the corresponding text string; prior to retail sale, removing each text string from the software program; releasing the software program, which includes the unique tags, for retail sale; after releasing the software program for retail sale, receiving a file of events as indicated by at least a portion of the unique tags included in the software program, the file being created when the software program is run on the computing device used by the customer; processing the file by using the index to map each unique tag in the file with its corresponding text string to generate a text string record of the events which took place within the software program; and outputting the text string record of the events which took place within the software program.
-
-
11. A method for recording program information, by a software provider, about events to be taking place within a software program executing on a computer to be used by a customer, comprising:
-
including, for each of a number of selected events, an indicator within the software program that records the selected event, the indicator including a text string created by a software developer and descriptive of the selected event; coding the text string with a unique tag corresponding to each text string;
creating a decoding file mapping each unique tag to the corresponding text string; andprior to retail sale, removing each text string from the software program; releasing the software program, which includes the unique tags, for retail sale; after releasing the software program for retail sale, receiving a file of events as indicated by at least a portion of the unique tags included in the software program, the file being created when the software program is run on the computer used by the customer; processing the file by using the decoding file to map each unique tag in the file with its corresponding text string to generate a text string record of the evens which took place within the software program; and outputting the text string record of the events which took place within the software program. - View Dependent Claims (12, 15)
-
Specification