This article is part of Managing bug report in issue tracker series.
See managing bug reports in issue tracker for common information. Please, read it first. For common information and setup of Exceptionless itself - please see this article. The text below assumes that you already completed Exceptionless installation.
Below are detailed steps for recommended Exceptionless setup for automatic bug report submission. Before going through setup - make sure to upgrade your Exceptionless to the latest version.
Some steps below are optional, some steps must be executed only once (like account registration), other are executed from time to time (like creating new projects for your new products) and the rest are executed regularly (like marking issues as "fixed").
Full list of necessary actions contains:
- Creating user accounts (single act)
- Creating projects and setting it up (single act or per product)
- EurekaLog setup (per product)
- Testing (as required)
- Maintaining project (regularly or from time to time)
Please note that all actions below are just examples. It's recommendation, but it's not necessary to be absolutely like that. You may use another configuration.
Important Note: Exceptionless does not support adding file attaches to crash reports. In other words, EurekaLog file reports and screenshots will not be available.
Creating user accounts
1. Create Exceptionless account:

Creating new user
2. Once logged in - go to your profile settings and configure e-mail notifications:

Setting up e-mail notifications
We recommend to disable e-mail notifications.
Creating projects
1. You will be asked to created your first project immediately after registration:

Creating a new project for bug reports
If you have skipped that dialog for any reason - go to projects administration settings to create new project:

Creating a new project
Once you have created a new project - you will be asked to download Exceptionless client for your project:

Configuring project
Since you will be using EurekaLog to post crash reports to Exceptionless - you can skip this step by clicking on "Go To Dashboard" button. Or you can also click on buttons for notification settings or project settings.
We recommend to click green "Gears" button to go to project options (see step 2 below).
2. Setup project access. Go to project's options:


Adding access to the project
Switch to API Keys tab and add a new API Key:

Creating new API key for EurekaLog
You can enter arbitrary description to indicate that this key will be used by EurekaLog. Copy API Key to paste it into EurekaLog's settings (see below).
EurekaLog setup
1. Enter Exceptionless details into EurekaLog settings of your projects:

Exceptionless settings filled into EurekaLog options
Important Note: use API token created earlier. After you have entered token into EurekaLog's settings - delete token from whatever place it was saved (clipboard, text file, etc.).
If you forgot your token - you can retrieve it from options of Exceptionless project.
2. Set any additional/common send options.
3. Set/fill custom fields. You can add additional information for bug reports in Exceptionless, for example:
uses
EEvents, ESysInfo;
procedure SetCustomFields(const ACustom: Pointer; AExceptionInfo: TEurekaExceptionInfo;
ASender: TObject; AWebFields: TStrings; var ACallNextHandler: Boolean);
begin
AWebFields.Values['License'] := GetYourApplicationLicense;
end;
initialization
RegisterEventCustomWebFieldsRequest(nil, SetCustomFields);
end.
4. Add any custom data, write necessary event handlers, set exception filters, etc, etc.
Testing
1. Test sending. You can do this right in the EurekaLog send options dialog - by clicking on "Test..." button. This will send test bug report.
Suggested actions are:
- Click on "Test..." button to test sending and creating of a new bug issue in Exceptionless.
- Resolve any found issues (access denied, wrong values in fields, etc).
- Once successful and there is new issue in Exceptionless - click on "Test..." button again. This should test updating project.
- Resolve any found issues (access denied, etc).
- Once successful - mark existing test issue as "Fixed" in Exceptionless.
- Click on "Test..." button again. This should test sending old (already fixed) bugs (see: issues workflow). Remember version number that you will specify on this step.
- Ensure there is no error messages, no problems.
- Change version of your application to be greater than the version that you have used to mark issue as fixed on step 6.
- Click on "Test..." button again. This should test issue regression.
- Delete test issue in Exceptionless after testing.
These actions should test that sending is actually working.
2. Now it's time to test your application-specific sending.
- Place debug code in your application to raise a test exception and cause a test leak (if you've enabled leaks collecting).
- Run your application and invoke this test code.
- Let application crash and process bug (show dialog, send bug report, etc).
- Ensure that behavior is expected.
- Ensure that you get all additional information in Exceptionless.
- Remove test code from your application.
Now your application is ready for deployment.
See also: