init(callStackAddresses:location:)
Initializes a new instance with an array of call stack addresses and a source code location.
Declaration
convenience init(callStackAddresses: [NSNumber], location: XCTSourceCodeLocation?)Parameters
- callStackAddresses:
An array of call stack return addresses.
- location:
A representation of a location in source code.
Discussion
The call stack addresses could be from NSThread.callStackReturnAddresses, NSException.callStackReturnAddresses, or another source.