Exception Tracking

Revulytics Usage Intelligence is able to collect runtime exceptions from your application and then produce reports on the exceptions that were collected. Once an exception is tracked, Revulytics Usage Intelligence will also save a snapshot of the current machine architecture so that you can later (through the on-line exception browser within the customer area) investigate the exception details and pinpoint any specific OS or architecture related information that are the cause of common exceptions. Collection of exception data is done through the tbExceptionTrack() function.

TBRESULT tbExceptionTrack(TBINSTANCE *tbInstance, const char *className, const char *methodName, const char *exceptionMessage, const char *stackTrace)

This function is used to track and report on any exceptions that are generated by the application on the end users’ machines.


tbInstance (TBINSTANCE*) - The Revulytics Usage Intelligence SDK instance returned in call to tbCreateInstance()

className (char*) - The name of the class where the exception occurred.

methodName (char*) - The name of the method/function where the exception occurred.

exceptionMessage (char*) - The message contained in the exception or any free text you might need to log
after the exception occurs.
stackTrace (char*) - The stack trace of the exception or part of the stack trace to be logged with
the exception.
Returns:One of the return status constants below.
* TB_OK (1)