---
title: callStack
framework: xctest
role: symbol
role_heading: Instance Property
path: xctest/xctsourcecodecontext/callstack
---

# callStack

An array of source code frames that describes the call stack when a test issue occurs.

## Declaration

```swift
var callStack: [XCTSourceCodeFrame] { get }
```

## See Also

### Context Information

- [location](xctest/xctsourcecodecontext/location.md)
