-
- All Implemented Interfaces:
-
com.bugsnag.android.JsonStream.Streamable
public final class NativeStackframe implements JsonStream.Streamable
Represents a single native stackframe
-
-
Field Summary
Fields Modifier and Type Field Description private Stringmethodprivate Stringfileprivate NumberlineNumberprivate LongframeAddressprivate LongsymbolAddressprivate LongloadAddressprivate BooleanisPCprivate ErrorTypetypeprivate StringcodeIdentifier
-
Method Summary
Modifier and Type Method Description final StringgetMethod()The name of the method that was being executed final UnitsetMethod(String method)The name of the method that was being executed final StringgetFile()The location of the source file final UnitsetFile(String file)The location of the source file final NumbergetLineNumber()The line number within the source file this stackframe refers to final UnitsetLineNumber(Number lineNumber)The line number within the source file this stackframe refers to final LonggetFrameAddress()The address of the instruction where the event occurred. final UnitsetFrameAddress(Long frameAddress)The address of the instruction where the event occurred. final LonggetSymbolAddress()The address of the function where the event occurred. final UnitsetSymbolAddress(Long symbolAddress)The address of the function where the event occurred. final LonggetLoadAddress()The address of the library where the event occurred. final UnitsetLoadAddress(Long loadAddress)The address of the library where the event occurred. final BooleangetIsPC()Whether this frame identifies the program counter final UnitsetIsPC(Boolean isPC)Whether this frame identifies the program counter final ErrorTypegetType()The type of the error final UnitsetType(ErrorType type)The type of the error final StringgetCodeIdentifier()Identifies the exact build this frame originates from. final UnitsetCodeIdentifier(String codeIdentifier)Identifies the exact build this frame originates from. UnittoStream(JsonStream writer)-
-
Method Detail
-
getLineNumber
final Number getLineNumber()
The line number within the source file this stackframe refers to
-
setLineNumber
final Unit setLineNumber(Number lineNumber)
The line number within the source file this stackframe refers to
-
getFrameAddress
final Long getFrameAddress()
The address of the instruction where the event occurred.
-
setFrameAddress
final Unit setFrameAddress(Long frameAddress)
The address of the instruction where the event occurred.
-
getSymbolAddress
final Long getSymbolAddress()
The address of the function where the event occurred.
-
setSymbolAddress
final Unit setSymbolAddress(Long symbolAddress)
The address of the function where the event occurred.
-
getLoadAddress
final Long getLoadAddress()
The address of the library where the event occurred.
-
setLoadAddress
final Unit setLoadAddress(Long loadAddress)
The address of the library where the event occurred.
-
getCodeIdentifier
final String getCodeIdentifier()
Identifies the exact build this frame originates from.
-
setCodeIdentifier
final Unit setCodeIdentifier(String codeIdentifier)
Identifies the exact build this frame originates from.
-
toStream
Unit toStream(JsonStream writer)
-
-
-
-