1. A method for generating trace information for an exception in a software application, the software application including a plurality of retry points, each of the retry points being a defined point in a series of instructions for the execution of the software application, the method comprising: repeatedly executing the software application to cause occurrences of the exception; for each occurrence of the exception, reverting execution to a different one of the retry points such that after multiple occurrences of the exception each of the retry points is reverted to, wherein execution of each of the retry points includes generating trace information for the execution of the software application; and determining which of the retry points is a preferred retry point to generate trace information for subsequent occurrences of the exception.