devsite/tools/jazzy/templates

FirebaseCrashlytics Framework Reference

FIRStackFrame


@interface FIRStackFrame : 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. Symbolicated StackFrames 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 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

    Objective-C

    + (nonnull instancetype)stackFrameWithAddress:(NSUInteger)address;

    Parameters

    address

    - the address where the exception occurred

  • Creates a symbolicated StackFrame with the given required fields. Symbolicated StackFrames 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