<!--
{
  "availability" : [
    "iOS: 14.0.0 - 27.0.0",
    "iPadOS: 14.0.0 - 27.0.0",
    "macCatalyst: 14.0.0 - 27.0.0",
    "macOS: 12.0.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "MetricKit",
  "identifier" : "/documentation/MetricKit/MXCrashDiagnostic",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MetricKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MXCrashDiagnostic"
  },
  "title" : "MXCrashDiagnostic"
}
-->

# MXCrashDiagnostic

An object representing a diagnostic report for an app crash.

```
class MXCrashDiagnostic
```

## Topics

### Viewing exception details

[`exceptionType`](/documentation/MetricKit/MXCrashDiagnostic/exceptionType)

The Mach exception type of the crash.

[`exceptionCode`](/documentation/MetricKit/MXCrashDiagnostic/exceptionCode)

The encoded processor-specific information for the crash.

[`signal`](/documentation/MetricKit/MXCrashDiagnostic/signal)

The signal associated with the crash.

[`exceptionReason`](/documentation/MetricKit/MXCrashDiagnostic/exceptionReason)

[`terminationReason`](/documentation/MetricKit/MXCrashDiagnostic/terminationReason)

The reason the app was terminated as a human-readable string.

[`virtualMemoryRegionInfo`](/documentation/MetricKit/MXCrashDiagnostic/virtualMemoryRegionInfo)

Information about the region of memory an app accessed incorrectly, resulting in a bad-access crash.

### Viewing the call stack

[`callStackTree`](/documentation/MetricKit/MXCrashDiagnostic/callStackTree)

The call stack for the crash.

## Relationships

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSCoding`](/documentation/Foundation/NSCoding)

### Inherits From

[`MXDiagnostic`](/documentation/MetricKit/MXDiagnostic)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)