A method and device for debugging application programs based on linux

A technology of application programs and debugging methods, applied in the direction of software testing/debugging, etc., can solve the problems of occupying resource overhead, only static debugging, etc., and achieve the effect of online monitoring of running status

Active Publication Date: 2019-11-15
深圳金奇辉电气有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a linux-based application program debugging method, which aims to solve the problem that the current application program debugging method has resource overhead and can only be statically debugged

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
  • A method and device for debugging application programs based on linux
  • A method and device for debugging application programs based on linux
  • A method and device for debugging application programs based on linux

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0018] figure 1 The flow of the linux-based application program debugging method provided by the embodiment of the present invention is shown, and for the convenience of description, only the parts related to the embodiment of the present invention are shown.

[0019] A method for debugging application programs based on linux, said method comprising the steps of:

[0020] Step S101, establishing communication between pipeline A and pipeline B of the linux kernel and the application program respectively;

[0021] Step S102, receiving a user debugging instruction, and sending the user debugging ins...

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 is applicable to the field of software debugging and particularly relates to a linux-based application program debugging method and device. According to the linux-based application program debugging method, by establishing communication between a pipeline A of a linux kernel and an application program and between a pipeline B of the linux kernel and the application program, a debugging command of a user is received and sent to the application program through the pipeline A, the application program sent through the pipeline B is received to generate debugging information corresponding to the debugging command of the user, and the debugging information is fed back to the user. In this way, resource cost does not need to be spent, online monitoring of the running state of the application program is realized, and the functions of the application program can be debugged dynamically.

Description

technical field [0001] The invention belongs to the field of software debugging, and in particular relates to a linux-based application program debugging method and device. Background technique [0002] Under the current linux-based embedded platform, when debugging an application program, printing is generally used to print some fixed information that developers or maintenance personnel need to pay attention to. And this information will add additional overhead to the application, so in the official version, the debugging code may be turned off, and another method is used to monitor the running status of the application, such as recording the running log in a file, in case relevant personnel Check out. [0003] However, the existing debugging method is only a static debugging method, and it is not possible to dynamically turn off and enable the debugging function during the running of the program, and check the links that you need to pay attention to anytime and anywhere, ...

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 & AuthorityPatents(China)
IPC IPC(8): G06F11/36
Inventor程容涛邓永辉邓刚夏胜元肖敬伟
Owner深圳金奇辉电气有限公司