主权项 |
1. A method for positioning crash, comprising:
setting monitoring points in a terminal and a test target in advance; monitoring the operation of the test target, and when the test target crashes, acquiring parameters of the monitoring points and parameter values thereof to generate a mirror file, the parameters of the monitoring points including the parameters of the monitoring points in the test target and in the terminal; acquiring the mirror file and viewing the parameters of the monitoring points in the mirror file and the parameter values thereof; and analyzing the parameters of the monitoring points and the parameter values thereof, to position the cause of the crash of the test target; wherein the analyzing the parameters of the monitoring points and the parameter values thereof, to position the cause of the crash of the test target includes: classifying the parameters of the monitoring points and analyzing the parameter values of individual parameters, to position the cause of the crash of the test target; the mirror file further includes crash addresses; the classifying the parameters of the monitoring points and analyzing the parameter values of individual parameters, to position the cause of the crash of the test target includes: classifying the parameters of the monitoring points in the test target in accordance with the crash addresses, to determine the crash addresses corresponding to the parameters of each monitoring point in the test target; and analyzing, for each crash address, the parameter values corresponding to the parameters of the monitoring points in the test target at the crash address, and positioning the cause of the crash of the test target in combination with the parameter values corresponding to the parameters of the monitoring points in the terminal. |