DebugImage class

The list of debug images contains all dynamic libraries loaded into the process and their memory addresses. Instruction addresses in the Stack Trace are mapped into the list of debug images in order to retrieve debug files for symbolication. There are two kinds of debug images: Native debug images with types macho, elf, and pe Android debug images with type proguard more details : https://develop.sentry.dev/sdk/event-payloads/debugmeta/

Annotations
  • @immutable

Constructors

DebugImage({required String type, String? name, String? imageAddr, String? imageVmAddr, String? debugId, String? debugFile, int? imageSize, String? uuid, String? codeFile, String? arch, String? codeId, int? cpuType, int? cpuSubtype, Map<String, dynamic>? unknown})
const
DebugImage.fromJson(Map<String, dynamic> data)
Deserializes a DebugImage from JSON Map.
factory

Properties

arch String?
Optional Architecture of the module. If missing, this will be backfilled by Sentry.
final
codeFile String?
Optional. The absolute path to the dynamic library or executable. This helps to locate the file if it is missing on Sentry.
final
codeId String?
Optional. Identifier of the dynamic library or executable. It is the value of the LC_UUID load command in the Mach header, formatted as UUID. Can be empty for Mach images, as it is equivalent to the debug identifier.
final
cpuSubtype int?
MachO CPU subtype identifier.
final
cpuType int?
MachO CPU type identifier.
final
debugFile String?
OptionalName or absolute path to the dSYM file containing debug information for this image. This value might be required to retrieve debug files from certain symbol servers.
final
debugId String?
Required. Identifier of the dynamic library or executable. It is the value of the LC_UUID load command in the Mach header, formatted as UUID.
final
hashCode int
The hash code for this object.
no setterinherited
imageAddr String?
Required. Memory address, at which the image is mounted in the virtual address space of the process. Should be a string in hex representation prefixed with "0x".
final
imageSize int?
Required. The size of the image in virtual memory. If missing, Sentry will assume that the image spans up to the next image, which might lead to invalid stack traces.
final
imageVmAddr String?
Optional. Preferred load address of the image in virtual memory, as declared in the headers of the image. When loading an image, the operating system may still choose to place it at a different address.
final
name String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
Required. Type of the debug image.
final
unknown Map<String, dynamic>?
final
uuid String?
final

Methods

copyWith({String? uuid, String? name, String? type, String? debugId, String? debugFile, String? codeFile, String? imageAddr, String? imageVmAddr, int? imageSize, String? arch, String? codeId, int? cpuType, int? cpuSubtype}) DebugImage
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Produces a Map that can be serialized to JSON.
toString() String
A string representation of this object.
inherited

Operators

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