---
title: cumulativeIllegalInstructionExitCount
framework: metrickit
role: symbol
role_heading: Instance Property
path: metrickit/mxforegroundexitdata/cumulativeillegalinstructionexitcount
---

# cumulativeIllegalInstructionExitCount

The number of times the system terminated the app from the foreground for attempting to execute an illegal or undefined instruction.

## Declaration

```swift
var cumulativeIllegalInstructionExitCount: Int { get }
```

## Discussion

Discussion One way to trigger this exit is by invoking a function with a misconfigured function pointer.

## See Also

### Reading the Crash Count

- [cumulativeBadAccessExitCount](metrickit/mxforegroundexitdata/cumulativebadaccessexitcount.md)
