Hidden fields for containing debug information
AssigneeInternational Business Machines Corporation
InventorsDouglas R. Fish, Cale T. Rath, David A. Wall
Life of this patent
Estimating the term…
Abstract
A method, apparatus article of manufacture for writing debug data into hidden fields or an electronic document. In some embodiments, debug data is written into hidden fields of an HTML or XML document, which may include visible data, including the results requested by a user. In contrast, the debug data contained in the hidden fields is kept hidden even after rendering the visible portions of the electronic document until, for example, the user takes explicit steps specifically directed to viewing the debug data.
Claims33
A method of processing error information in a Web environment, comprising:
- issuing a request for Web content;
- receiving, in response to the request, a Web based electronic document comprising (i) visible output and (ii) at least one hidden field containing error information generated in response to an error occurring during processing of the request;
- displaying the visible output while keeping the error information hidden;
- and then
- displaying the error information.
A method of processing error information in a Web environment, comprising:
- receiving, from a requesting entity, a request for Web content;
- executing a Web application to process the request;
- encountering an error while executing the Web application to process the request;
- writing error information to at least one hidden field of a Web based electronic document, wherein the at least one hidden field is configured to be made visible upon an explicit user action after having been received by the requesting entity;
- and
- sending the Web based electronic document to the requesting entity, wherein upon sending the Web based electronic document, the document contains visible content in addition to the at least one hidden field.
An electronic document stored on a computer-readable medium, comprising:
- visible content for display;
- and
- a plurality of hidden debug data fields configured to be populated by error-information-writing code invoked in response to an occurrence of an error during execution of a web application, and wherein the plurality of hidden debug data fields are configured to be made visible upon an explicit user action after having been received by a requesting entity.
A computer readable medium containing instructions which, when executed, perform an operation for processing error information in a Web environment, comprising:
- executing a Web application in response to a network request from a requesting entity;
- and
- upon encountering an error while executing the Web application, writing error information to at least one hidden field of a Web based electronic document comprising visible content, wherein visible content is configured to be automatically displayed upon receipt by the requesting entity while the error information is kept hidden and wherein the at least one hidden field is configured to be subsequently revealed upon an explicit user action.
A server computer configured for a network connection, comprising:
- a server configured to accept requests from requesting entities via the network connection;
- a application configured to process the requests from the requesting entities;
- an error handler configured to write debug data into hidden fields of an electronic document in response to an error occurring during execution of the web application while servicing a request from a requesting entity, and wherein the server subsequently transmits the electronic document to the requesting entity in response to the request.
Dependencies are inferred from the claim text.