A method and system for remote debugging of application programs 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
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2017-08-29
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
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...
Examples
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...