Skip to content

How to use crashreport functionality

Umberto Baldi edited this page Feb 1, 2021 · 5 revisions

In version 1.2.0-rc2 crash-report functionality has been added. It allows users to report issues in a better way, helping us developers to solve sneaky bugs :bug:

How to enable it

By default, the crash-report generation is turned off. To turn on the functionality, you have to enable crashreport = true entry in config.ini. This file is located in the same location as the ArduinoCreateAgent. A quick search should help. PS the binary name was named ArduinoCreateBridge in releases precedent to 1.2.0-rc3

Where are the crash-reports

Crash-reports are placed in a folder called logs in the same folder where the ArduinoCreateAgent lives. A quick search should help here too.

  • In Linux they should be placed in ~/ArduinoCreateAgent-<version>/logs
  • In windows they should be placed in C:\users\<username>\Appdata\Roaming\ArduinoCreateAgent-<version>\logs
  • In MacOS they should be placed in ~/Applications/ArduinoCreateAgent-<version>/ArduinoCreateAgent.app/Contents/MacOS/logs

In newer versions (starting from 1.2.0-rc3) we removed -<version> from the folder name

How to clean the generated files

If you have files inside logs directory you should be able to click an entry in the tray icon's menu called Remove crash reports This will delete all the logs folder.

If there are no crash-reports to clean the option is disabled

Remember to upload the crash-report when opening an issue :love_letter: