---
title: symbolInfo()
framework: xctest
role: symbol
role_heading: Instance Method
path: xctest/xctsourcecodeframe/symbolinfo()
---

# symbolInfo()

Attempts to get symbol information for the address.

## Declaration

```swift
func symbolInfo() throws -> XCTSourceCodeSymbolInfo
```

## Return Value

Return Value Symbol information for the address.

## Discussion

Discussion This method can fail if required symbol data is not available. The system makes only one attempt to retrieve the symbol information. If that attempt fails, the system stores the error and returns it for future requests.

## See Also

### Frame Information

- [address](xctest/xctsourcecodeframe/address.md)
- [symbolInfo](xctest/xctsourcecodeframe/symbolinfo.md)
- [symbolicationError](xctest/xctsourcecodeframe/symbolicationerror.md)
