PCOffset class

A program counter address viewed as an offset into the appropriate instructions section of a Dart snapshot. Includes other information parsed from the corresponding stack trace header when possible.

Constructors

PCOffset(int offset, InstructionsSection section, {String? os, String? architecture, bool? compressedPointers, bool? usingSimulator, String? buildId, int? unitId})

Properties

architecture String?
The architecture on which the stack trace was generated, when available.
final
buildId String?
The build ID of the corresponding instructions section, when available.
final
compressedPointers bool?
Whether compressed pointers were enabled, when available.
final
hashCode int
The hash code for this object.
no setteroverride
offset int
The offset into the corresponding instructions section.
final
os String?
The operating system on which the stack trace was generated, when available.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
section InstructionsSection
The instructions section into which this is an offset.
final
unitId int?
The loading unit ID of the corresponding instructions section, when available.
final
usingSimulator bool?
Whether the architecture was being simulated, when available.
final

Methods

callInfoFrom(Dwarf dwarf, {bool includeInternalFrames = false}) Iterable<CallInfo>?
The call information found for this PCOffset in dwarf.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
virtualAddressIn(Dwarf dwarf) int
The virtual address for this PCOffset in dwarf.

Operators

operator ==(Object other) bool
The equality operator.
override