# Crash Report Check
Before changing the package version of the project or before the project is launched, it is necessary to check the Crasheye report on the Android side, and use the root machine to manually trigger a crash to check whether the crash information can be collected normally on the Crasheye platform.
- A rooted phone
- adb tool（Web search ADB tool to download）
Step1： Get the pid of the application（For example, the package path of the application under test is：com.xsj.jxsj3.xsj）
>adb shell pidof com.xsj.jxsj3.xsj
Step2：Crash the app with root privileges（For example, the pid of the application under test is：34001）
> adb shell $ su $ kill -11 34001
# ADB Installation
First, click "Start" in the lower left corner of the computer, enter "cmd" in the command window, and press Enter.
After the above operations are completed, enter the command prompt interface. It can be seen that the default environment variable path is“C:\Users\Administrator”.
Copy the adb tool to the above path
- Notice，It is to copy the path directly, do not put it in a folder and copy it as a whole
Close the command prompt window and reopen it (that is, repeat the first step), enter adb in the command prompt, and press Enter, a lot of adb debugging related help information will be printed in the command prompt. At this point, adb can be used normally!
Before changing the package version or the project online, you need to check the Crasheye report on the iOS side, use the root machine to manually trigger a crash, and check whether the crash information can be collected normally on the Crasheye platform.
A jailbroken iOS device
Prepare the software：cydia
- Jailbroken phones have openssh installed by default (openssh cannot be installed, try jailbreaking again)
# Method 1: Use a data cable to connect the computer and mobile phone (connect to wifi, make sure that the mobile phone and computer are under the same network)
Openssh connect to phone：
win+r，Enter cmd to bring up the command window, enter: ssh root@mobile ip
Get process ID
Open the app you want to extract and let it run in the foreground (kill all apps, then open the target app)
Enter ps -ef to get the process
Extract the process number (corresponding to the PID, the method for determining the PID: the relevant information is followed by the project name)
Enter：kill -6 Process ID. trigger crash
# Method two
- Use the trigger crash GM command provided by the project team to verify whether the stack can be parsed normally