Exception Tracking is a method for automatically detecting and responding to exceptions in the target application as they occur. Dotfuscator injects code that can detect caught, thrown, or unhandled exceptions. Once detected, the exception tracking code can collect details from the user and report the detected exception to a PreEmptive Analytics endpoint. A user can explicitly allow an exception report to be sent even if he or she has previously opted out of sending PreEmptive Analytics messages, and can provide comment and contact information to be sent along with the report. In addition, the developer can specify a custom action be taken when an exception is detected.
To facilitate the common use case of unhandled exception reporting, Dotfuscator can inject a pre-made Exception Report Dialog which provides a consistent user experience for reporting exceptions. Minimal configuration is needed to instruct Dotfuscator to track unhandled exceptions, display the exception report dialog which will obtain explicit user consent and collect optional comment and contact information from the user, and send the report to the configured PreEmptive Analytics endpoint.