Patent 7975262 was granted and assigned to Microsoft on July, 2011 by the United States Patent and Trademark Office.
Trace messages generated during execution of programming code are logged in a trace log. The logged trace messages logged during execution of a portion of the programming code are deleted from the trace log when the portion of programming code executes without an error. The logged trace messages are kept in the trace log when an error occurs during execution of the portion of the programming code. The trace log is output when the execution of the programming code ends.