Skip to Main Content
Spotfire Ideas Portal
Status Future Consideration
Product Spotfire
Created by Guest
Created on Aug 18, 2023

API to detect when Spotfire is crashing

We need an event that is triggered when Spotfire crashes ...

This is already available in .net using:

AppDomain.CurrentDomain.UnhandledException

But unfortunatly it does not work from within Spotfire!

In our case, we keep track on when professional client is opened/closed in a separate custom database. This allows us to monitor the usage over time ... but when the professional client crashes, we fail to log this information! So in this case, we get a startup log message with no shutdown log message!

Another very critical use case is freeing all non-managed resources (file handlers, DB connections, ... ) when crashing.

Since Spotfire already detects crashes when option "Display detailed error message" is enabled (from Logging window) when crashing, then Spotfire should be able to fire a trigger when such situation occurs.


  • Attach files