FIRStackFrame
@interface FIRStackFrame : NSObjectThe Firebase Crashlytics StackFrame provides a way to construct the lines of
a stack trace for reporting along with a recorded ExceptionModel.
-
Initializes a symbolicated
StackFramewith the given required fields. SymbolicatedStackFrames will appear in the Crashlytics dashboard as reported in these fields.Declaration
Objective-C
- (nonnull instancetype)initWithSymbol:(nonnull NSString *)symbol file:(nonnull NSString *)file line:(NSInteger)line;Parameters
symbol- The function or method name
file- the file where the exception occurred
line- the line number
-
Creates a symbolicated
StackFramefrom 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
Objective-C
+ (nonnull instancetype)stackFrameWithAddress:(NSUInteger)address;Parameters
address- the address where the exception occurred
-
Creates a symbolicated
StackFramewith the given required fields. SymbolicatedStackFrames will appear in the Crashlytics dashboard as reported in these fields.Declaration
Objective-C
+ (nonnull instancetype)stackFrameWithSymbol:(nonnull NSString *)symbol file:(nonnull NSString *)file line:(NSInteger)line;Parameters
symbol- The function or method name
file- the file where the exception occurred
line- the line number