目录

Parsing App minidump/coredump Files

Since version 26.0.0, DevEco Studio can parse app minidump and coredump files and display stack information, helping you quickly locate issues.

Obtaining Dump Files

Parsing Dump Files

  1. Open the Log window of DevEco Studio and switch to the AnalyzeDump tab. Select the dump file to be parsed and the .so directory with debugging information (the default directory is build/{product}/intermediates/libs/{target}/{abi} under the module, where both {product} and {target} default to default, and {abi} indicates the CPU architecture type of the device, for example, arm64-v8a), and click Start Analyze.

    Dump files generated by the app can only be parsed with symbol information from .so files built in the same build session. If you use the directory of .so files rebuilt after source code modifications, symbol mismatches may lead to inaccurate parsing results or parsing failures.

  2. After successful parsing, fault threads and corresponding stack traces are displayed by default. Expand a stack trace to view variables, switch between threads to check their stacks, and click hyperlinks in stack frames to jump to the corresponding source code.

  3. View memory at a specified address by entering the memory address and clicking View. Alternatively, right-click a variable to view its memory.

    Click Settings to set the number base (Byte Format), offset (Offset), and the number of memory bytes (Size) to display.