Patent ID: 8250543
Filing Date: 2012-08-21
Classification: G06F

Abstract:
1. A method for generating trace information for an exception in a software application, the software application having a traced mode for the generation of trace information and an untraced mode, and the software application further having a plurality of retry points, each of the plurality of retry points providing a pre-defined point in a series of instructions for the execution of the software application, the method comprising performing, via a processor, the steps of: commencing execution of the software application in the untraced mode; on execution of a one of the plurality of retry points, recording execution state information for the one of plurality of retry points; automatically, on occurrence of an exception at an exception point in the software application after the execution of the one of the plurality of retry points in the untraced mode, prior to an execution of a subsequent one of the plurality of retry points, and without altering the software application, reverting execution to the one of the plurality of retry points using the recorded execution state information and switching to the traced mode; in response to a determination that the exception point is executed in the traced mode, automatically causing execution of the software application to proceed in the untraced mode; and repeating the steps of commencing, recording, reverting, and causing for subsequent portions of the software application.