StackFrame
class StackFrame : NSObject
The Firebase Crashlytics StackFrame
provides a way to construct the lines of
a stack trace for reporting along with a recorded ExceptionModel
.
-
Initializes a symbolicated
StackFrame
with the given required fields. SymbolicatedStackFrame
s will appear in the Crashlytics dashboard as reported in these fields.Declaration
Swift
init(symbol: String, file: String, line: Int)
Parameters
symbol
- The function or method name
file
- the file where the exception occurred
line
- the line number
-
Creates a symbolicated
StackFrame
from an address. The address will be symbolicated in the Crashlytics backend for the customer and reported in the Crashlytics dashboard with the appropriate file name and line number. If an invalid address is provided it will appear in the dashboard as missing.Declaration
Swift
convenience init(address: UInt)
Parameters
address
- the address where the exception occurred
-
Creates a symbolicated
StackFrame
with the given required fields. SymbolicatedStackFrame
s will appear in the Crashlytics dashboard as reported in these fields.Parameters
symbol
- The function or method name
file
- the file where the exception occurred
line
- the line number