public final class DebugImage extends java.lang.Object implements IUnknownPropertiesConsumer
This was also used for non-apple platforms with similar debug setups.
A generic (new-style) native platform debug information file.
The `type` key must be one of:
- `macho` - `elf`: ELF images are used on Linux platforms. Their structure is identical to other native images. - `pe`
Examples:
```json { "type": "elf", "code_id": "68220ae2c65d65c1b6aaa12fa6765a6ec2f5f434", "code_file": "/lib/x86_64-linux-gnu/libgcc_s.so.1", "debug_id": "e20a2268-5dc6-c165-b6aa-a12fa6765a6e", "image_addr": "0x7f5140527000", "image_size": 90112, "image_vmaddr": "0x40000", "arch": "x86_64" } ```
```json { "type": "pe", "code_id": "57898e12145000", "code_file": "C:\\Windows\\System32\\dbghelp.dll", "debug_id": "9c2a902b-6fdf-40ad-8308-588a41d572a0-1", "debug_file": "dbghelp.pdb", "image_addr": "0x70850000", "image_size": "1331200", "image_vmaddr": "0x40000", "arch": "x86" } ```
```json { "type": "macho", "debug_id": "84a04d24-0e60-3810-a8c0-90a65e2df61a", "debug_file": "libDiagnosticMessagesClient.dylib", "code_file": "/usr/lib/libDiagnosticMessagesClient.dylib", "image_addr": "0x7fffe668e000", "image_size": 8192, "image_vmaddr": "0x40000", "arch": "x86_64", } ```
Proguard mapping file.
Proguard images refer to `mapping.txt` files generated when Proguard obfuscates function names. The Java SDK integrations assign this file a unique identifier, which has to be included in the list of images.
Constructor and Description |
---|
DebugImage() |
Modifier and Type | Method and Description |
---|---|
void |
acceptUnknownProperties(@NotNull java.util.Map<java.lang.String,java.lang.Object> unknown) |
@Nullable java.lang.String |
getArch() |
@Nullable java.lang.String |
getCodeFile() |
@Nullable java.lang.String |
getCodeId() |
@Nullable java.lang.String |
getDebugFile() |
@Nullable java.lang.String |
getDebugId() |
@Nullable java.lang.String |
getImageAddr() |
@Nullable java.lang.Long |
getImageSize() |
@Nullable java.lang.String |
getType() |
@Nullable java.lang.String |
getUuid() |
void |
setArch(@Nullable java.lang.String arch) |
void |
setCodeFile(@Nullable java.lang.String codeFile) |
void |
setCodeId(@Nullable java.lang.String codeId) |
void |
setDebugFile(@Nullable java.lang.String debugFile) |
void |
setDebugId(@Nullable java.lang.String debugId) |
void |
setImageAddr(@Nullable java.lang.String imageAddr) |
void |
setImageSize(long imageSize)
Sets the image size.
|
void |
setImageSize(@Nullable java.lang.Long imageSize) |
void |
setType(@Nullable java.lang.String type) |
void |
setUuid(@Nullable java.lang.String uuid) |
@Nullable public @Nullable java.lang.String getUuid()
public void setUuid(@Nullable @Nullable java.lang.String uuid)
@Nullable public @Nullable java.lang.String getType()
public void setType(@Nullable @Nullable java.lang.String type)
@Nullable public @Nullable java.lang.String getDebugId()
public void setDebugId(@Nullable @Nullable java.lang.String debugId)
@Nullable public @Nullable java.lang.String getDebugFile()
public void setDebugFile(@Nullable @Nullable java.lang.String debugFile)
@Nullable public @Nullable java.lang.String getCodeFile()
public void setCodeFile(@Nullable @Nullable java.lang.String codeFile)
@Nullable public @Nullable java.lang.String getImageAddr()
public void setImageAddr(@Nullable @Nullable java.lang.String imageAddr)
@Nullable public @Nullable java.lang.Long getImageSize()
public void setImageSize(@Nullable @Nullable java.lang.Long imageSize)
public void setImageSize(long imageSize)
imageSize
- the image size.@Nullable public @Nullable java.lang.String getArch()
public void setArch(@Nullable @Nullable java.lang.String arch)
@Nullable public @Nullable java.lang.String getCodeId()
public void setCodeId(@Nullable @Nullable java.lang.String codeId)
@ApiStatus.Internal public void acceptUnknownProperties(@NotNull @NotNull java.util.Map<java.lang.String,java.lang.Object> unknown)
acceptUnknownProperties
in interface IUnknownPropertiesConsumer