EurekaLog
Menu

EurekaLog 7 Manual

...send reports automatically?

There are several ways of doing it.

  1. If you are going to use visual dialogs - you can disable "Ask user for send consent" option, and enable "Default choice: send report" option;
  2. If you do not want any visual dialog at all - set "Dialog type" to "(none)". This will disable dialog for all exceptions. You can also do this in runtime: CurrentEurekaLogOptions.ExceptionDialogType := edtNone (units EModules and ETypes);
    1. Alternatively, you can use exception filters. Add new filter, select exception type and set handler to EurekaLog and set dialog type to "(none)". This will disable dialog for certain exception types. Note, that is you'll set handler to "none" or "RTL" - the bug report will not be sent;
    2. You can also use the  OnExceptionAction event. You can assign your own custom event handler, where you should pay attention to atShowingExceptionInfo and atShowedExceptionInfo action types (AEurekaAction argument). To block error dialog you set AExecute := False for atShowingExceptionInfo and AExecute := True for atShowedExceptionInfo.
  • If you application consists only of one main exe file (or one standalone DLL) and other code does not use EurekaLog - then your are done;
  • If your application consists of several DLLs/BPLs - then answer may vary, depending on how you are using them. You may need to repeat these configuration steps for all or some of your DLLs.

See also: