1. A non-transitory computer-readable medium with stored computer-executable instructions that when executed by a computer cause the computer to perform a method, the instructions comprising instructions configured for: searching an executable code, using at least hardware of the computer, for code representing a database procedure call within the executable code; at a location in the executable code prior to the database procedure call, inserting into the executable code an exception capturing code that is configured to cause information to be collected about an exception when the exception occurs during execution of the database procedure call; and inserting termination code after the database procedure call in the executable code, wherein the termination code is configured to terminate the collection of the information caused by the exception capturing code.