Patent ID: 8806435

Claim:
A method comprising: executing a program code on a first computer system; halting execution of the program code upon an occurrence of an error during execution; generating debug information upon the occurrence of the error during execution of the program code, wherein generating debug information is performed by executing a function call in the program code to a network print driver, wherein the debug information includes metadata that describes program context information to facilitate locating of errors relating to the program code, wherein an error is assigned a timestamp corresponding to a time or a date indicating when the error occurred during execution of the program code, wherein the debug information further includes user-defined data to customize contents of the debug information as defined by a user, wherein the user-defined data comprises details relating to the contents of the debug information, wherein tracing or debugging of problems derived from the program code are performed based on the customized contents and in accordance with the user-defined data; transmitting the debug information to the network print driver; automatically resuming execution of the program code after transmitting the debug information to the network print driver; and transmitting the debug information to a second computer system via a network adaptor.