Unlock instant, AI-driven research and patent intelligence for your innovation.

Code crash positioning method and device

A locating method and code technology, applied in the computer field, can solve the problems of low efficiency of code crash locating and many code contents, and achieve the effect of improving the efficiency of crash locating

Active Publication Date: 2017-01-04
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF3 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem of low code crash location efficiency due to large code content, the embodiment of the present invention provides a code crash location method and device

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code crash positioning method and device
  • Code crash positioning method and device
  • Code crash positioning method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0029] Please refer to figure 1 , which shows a method flowchart of a code crash location method provided by an embodiment of the present invention. The crash location method of the code can be applied to the server, and the crash location method of the code includes:

[0030] Step 101, obtain exception stack information, the exception stack information is used to indicate each crash object reported by each terminal in the process of running the code of the project, and the crash object is the object in the code that causes the crash.

[0031] Step 102, acquiring first exception code information obtained by scanning the code of the project, where the first exception code information is used to indicate each exception object that has a...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a code crash positioning method and device, and belongs to the field of the computer technology. The method comprises the following steps: obtaining exception stack information, wherein the exception stack information is used for indicating each crash object reported in a process that the code of a project is operated on each terminal; obtaining first exception code information obtained by scanning the code of the project, wherein the first exception code information is used for indicating each exception object which has coding errors in the code of the project; according to exception stack information and the first exception code information, determining the exception object related to each crash object; and positioning the position of the exception object related to each crash object in the code. By use of the method, the crash object and the exception object are related, the position of the exception object related to each crash object in the code is determined, the problem of low code crash positioning efficiency due to more code contents is solved, and an effect on improving code crash positioning efficiency is achieved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a code crash location method and device. Background technique [0002] With the increase of the complexity of the application program, there is often a problem of the application program crashing during the running process of the application program. When the application crashes, the developer needs to locate the code that caused the crash in time, and fix this part of the code in time. [0003] At present, the application uploads the abnormal stack information to the server after the crash. The abnormal stack information includes at least the code calling relationship when the application crashes. The developer artificially analyzes the code calling relationship in the abnormal stack information to determine the cause of the crash. code, and then to the location of the code in the application's code. [0004] Since the developer needs to manually analyze the code that causes...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3636
Inventor 黄斌魏学峰严明袁明凯
Owner TENCENT TECH (SHENZHEN) CO LTD