logo
On this page

How to get the stack trace information of ZIM SDK?

2022-11-04
Products / Plugins:In-app chat
Platform / Framework:iOS / Android / Windows

Each platform can obtain the stack trace information of ZIM SDK according to the following methods.

Android

  • Real-time log analysis

    adb logcat | ndk-stack -sym [directory where the target abi (armeabi/armeabi-v7a/arm64-v8a) so dynamic library is located]

    For example:

    adb logcat | ndk-stack -sym /path/to/your/project/armeabi-v7a

  • Get logs first and then analyze (use adb logcat to save log files, then analyze through ndk-stack command)

    adb logcat > xx.log

    ndk-stack -sym [directory where the target abi so dynamic library is located] -dump [log file]

    For example:

    adb logcat > crash.log

    ndk-stack -sym /path/to/your/project/armeabi-v7a -dump crash.log

iOS/iPadOS

  1. Connect the iOS device to Mac, open Xcode, select "Window > Devices and Simulators" from the top menu bar.
  2. Select the specified device on the left, then click "View Device Logs". In the pop-up dialog, find the log with the corresponding Process application package name and Type as "Crash" at the corresponding time. Right-click on this log and select "Export Log". The saved ".crash" file is the stack trace information.

macOS

Files ending with ".crash" in the "~/Library/Logs/DiagnosticReports" path are stack trace information.

Previous

Why does the area capture setting fail?

Next

After whiteboard is created successfully, calling the page turn interface does not take effect?

On this page

Back to top