BugsnagStackframe
Objective-C
@interface BugsnagStackframe : NSObject
Swift
class BugsnagStackframe : NSObject
Represents a single stackframe from a stacktrace.
-
The method name of the stackframe
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *method;Swift
var method: String? { get set } -
The Mach-O file used by the stackframe
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *machoFile;Swift
var machoFile: String? { get set } -
A UUID identifying the Mach-O file used by the stackframe
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *machoUuid;Swift
var machoUuid: String? { get set } -
The stack frame address
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSNumber *frameAddress;Swift
var frameAddress: NSNumber? { get set } -
The Mach-O file’s desired base virtual memory address
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSNumber *machoVmAddress;Swift
var machoVmAddress: NSNumber? { get set } -
The address of the stackframe symbol
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSNumber *symbolAddress;Swift
var symbolAddress: NSNumber? { get set } -
The address at which the Mach-O file is mapped into memory
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSNumber *machoLoadAddress;Swift
var machoLoadAddress: NSNumber? { get set } -
True if
frameAddressis equal to the value of the program counter register.Declaration
Objective-C
@property (nonatomic) BOOL isPc;Swift
var isPc: Bool { get set } -
True if
frameAddressis equal to the value of the link register.Declaration
Objective-C
@property (nonatomic) BOOL isLr;Swift
var isLr: Bool { get set } -
The type of the stack frame, if it differs from that of the containing error or event.
Declaration
Objective-C
@property (nonatomic, copy, nullable) BugsnagStackframeType type;Swift
var type: BugsnagStackframeType? { get set } -
Creates an array of stackframe objects representing the provided call stack.
Declaration
Objective-C
+ (nonnull NSArray<BugsnagStackframe *> *) stackframesWithCallStackReturnAddresses: (nonnull NSArray<NSNumber *> *)callStackReturnAddresses;Swift
class func stackframes(withCallStackReturnAddresses callStackReturnAddresses: [NSNumber]) -> [BugsnagStackframe]Parameters
callStackReturnAddressesAn array containing the call stack return addresses, as returned by
NSThread.callStackReturnAddressesorNSException.callStackReturnAddresses. -
Creates an array of stackframe objects representing the provided call stack.
Declaration
Objective-C
+ (nullable NSArray<BugsnagStackframe *> *)stackframesWithCallStackSymbols: (nonnull NSArray<NSString *> *)callStackSymbols;Swift
class func stackframes(withCallStackSymbols callStackSymbols: [String]) -> [BugsnagStackframe]?Parameters
callStackSymbolsAn array containing the call stack symbols, as returned by
NSThread.callStackSymbols. Each element should be in a format determined by thebacktrace_symbols()function.
View on GitHub
Install in Dash
BugsnagStackframe Class Reference