Remote debugging method and system for application program based on linux system

An application and remote debugging technology, applied in the direction of software testing/debugging, etc., can solve problems such as low efficiency of application debugging, and achieve the effect of improving the ability of maximum output and ensuring consistency

Active Publication Date: 2015-04-08
SHENZHEN SINEXCEL ELECTRIC
View PDF4 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These traditional debugging methods can only be debugged locally on site, and generally require additional debugging tool support (such as serial port tools, emulators), especially when irregularities occur in the program, these traditional methods are difficult to quickly locate the cause , making the debugging efficiency of the application program based on the linux operating system extremely low

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
  • Remote debugging method and system for application program based on linux system
  • Remote debugging method and system for application program based on linux system
  • Remote debugging method and system for application program based on linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to solve the defects of complex operation in the existing linux system-based application program debugging technology, high requirements for debugging hardware tools, only online and local debugging, and low efficiency in debugging linux programs with random sudden exceptions, the innovation of the present invention lies in :

[0046] 1. The tools required for debugging in the present invention are simple, and the professional technical requirements for operators are low. This debugging method is also suitable for on-site debugging. When the debugging equipment cannot access the wide-area Internet, the debugging tool only needs a computer and a network cable to complete the debugging data collection, which greatly reduces the complexity of linux application debugging.

[0047] 2. The "shared ring formation data buffer" created by the debugging device of the present invention provides a corresponding system-level access interface, and in the interface, the "shar...

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 remote debugging method and a system for an application program based on a linux system. The system comprises local debugging equipment and remote display debugging data terminal equipment, wherein the debugging equipment is used for operating a debugging server program and a debugged application program; the debugging server program is used for creating a sharing annular queue data buffer region when the debugging equipment is started, providing the sharing annular queue data buffer region to other application programs to access and manage various function interfaces of the sharing annular queue data buffer region, and starting a TCP/IP (transmission control protocol/internet protocol) service function; the application program is used for writing generated debugging data into the annular queue data buffer region through a writing interface unit, and updating data writing position information in a buffer space management unit; the remote display debugging data terminal equipment is connected with the debugging equipment according to an IP address and a port number which are provided by the debugging service program, and receives equipment operational condition, fault information and debugging data, which are returned by the debugging equipment, and thus the target of remote diagnosis of the debugging equipment is achieved.

Description

technical field [0001] The invention relates to the field of program debugging, and more specifically, relates to a method and system for remote debugging of application programs based on a Linux system. Background technique [0002] As the embedded linux operating system is used more and more widely, software developers develop more and more applications for embedded devices running linux systems. Program debugging is an essential link in the process of program development. At present, the commonly used debugging methods for applications based on the linux system include debugging through gdb, printing debugging information on a serial port terminal, and working status indicators. These traditional debugging methods can only be debugged locally on site, and generally require additional debugging tool support (such as serial port tools, emulators), especially when irregularities occur in the program, these traditional methods are difficult to quickly locate the cause , mak...

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
Inventor 苏蒙平郑吉祥
Owner SHENZHEN SINEXCEL ELECTRIC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products