Skip to main content

Crash Instrumentation

Generates: Events (Log Records)

Automatically captures uncaught Java/Kotlin exceptions by installing a default uncaught exception handler.

Configuration

Enabled by default. To disable:

PulseSDK.INSTANCE.initialize(
application = this,

apiKey = "your-api-key",
dataCollectionState = PulseDataCollectionConsent.ALLOWED,
) {
crashReporter { enabled(false) }
}

What Gets Tracked

  • Uncaught Java/Kotlin exceptions
  • Full stack trace
  • Thread ID and name where the crash occurred
  • System state at crash time: battery percentage, free heap, free storage, network connection type
  • Current screen name (if available)

Attributes

AttributeDescriptionAlways Present
pulse.type"device.crash"
exception.typeException class name
exception.messageException message
exception.stacktraceFull stack trace
thread.idThread ID
thread.nameThread name
battery.percentBattery % at crash time
heap.freeFree heap memory (bytes)
storage.freeFree storage (bytes)
network.connection.typeConnection type
screen.nameCurrent screen⚠️ If available