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/
Constructors
-
DebugImage.new({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}) -
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.
getter/setter pair
- codeFile ↔ String?
-
Optional. The absolute path to the dynamic library or executable. This helps to locate the file if it is missing on Sentry.
getter/setter pair
- 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.
getter/setter pair
- cpuSubtype ↔ int?
-
MachO CPU subtype identifier.
getter/setter pair
- cpuType ↔ int?
-
MachO CPU type identifier.
getter/setter pair
- 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.
getter/setter pair
- 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.
getter/setter pair
- 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".
getter/setter pair
- 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.
getter/setter pair
- 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.
getter/setter pair
- name ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String
-
Required. Type of the debug image.
getter/setter pair
- uuid ↔ String?
-
getter/setter pair
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