---
title: illegalInstructionTerminationCount
framework: metrickit
role: symbol
role_heading: Instance Property
path: metrickit/foregroundterminationmetric/illegalinstructionterminationcount
---

# illegalInstructionTerminationCount

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

## Declaration

```swift
let illegalInstructionTerminationCount: Int
```

## See Also

### Foreground termination counts

- [normalTerminationCount](metrickit/foregroundterminationmetric/normalterminationcount.md)
- [memoryLimitTerminationCount](metrickit/foregroundterminationmetric/memorylimitterminationcount.md)
- [badAccessTerminationCount](metrickit/foregroundterminationmetric/badaccessterminationcount.md)
- [abnormalTerminationCount](metrickit/foregroundterminationmetric/abnormalterminationcount.md)
- [watchdogTerminationCount](metrickit/foregroundterminationmetric/watchdogterminationcount.md)
