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

Method, device and server for remote debugging program

A remote debugging and program technology, applied in the direction of multi-program device, inter-program communication, program control design, etc., can solve problems such as inability to debug kernel programs, and achieve the effect of reducing environmental requirements

Active Publication Date: 2021-05-18
LENOVO (BEIJING) LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method can be applied on the server, and can solve the problem that the development machine cannot remotely debug the kernel program (also called the kernel) of the target machine

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
  • Method, device and server for remote debugging program
  • Method, device and server for remote debugging program
  • Method, device and server for remote debugging program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Various aspects and features of the invention are described herein with reference to the accompanying drawings.

[0035] It should be understood that various modifications may be made to the embodiments of the inventions herein. Accordingly, the above description should not be viewed as limiting, but only as exemplifications of embodiments. Those skilled in the art will envision other modifications within the scope and spirit of the invention.

[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and, together with the general description of the invention given above and the detailed description of the embodiments given below, serve to explain the invention. principle.

[0037] These and other characteristics of the invention will become apparent from the following description of preferred forms of embodiment given as non-limiting examples with reference to the accompanying dr...

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 method, a device and a server for remotely debugging a program. The method includes: mapping a first serial port used for debugging a kernel program (also called a kernel) to an integrated management module; The first serial port is redirected to the remote development machine to form a first debugging channel, so that the development machine can debug the kernel program through the first debugging channel; configure the debugging environment, and work in the debugging environment After normal, perform data interaction with the development machine through the first debugging channel. This method realizes the kernel program debugging of the kgdb debugging mechanism in the remote serial port mode, and relies on the simple serial port polling mode communication to reduce the dependence on the debugged kernel program. The problem of the short distance between the target machine and the development machine reduces the environmental requirements of the target machine.

Description

technical field [0001] The present application relates to the field of computer program debugging, in particular to a method, device and server for remotely debugging programs. Background technique [0002] The kernel program of the operating system (also called the kernel) is the core component of an operating system. It is responsible for managing all processes, scheduling, memory, files, peripheral drivers, and network resources in the system, and determines the performance and stability of the system. sex. At present, when debugging the kernel program (also called the kernel) of the operating system, especially for the kernel program of Linux, due to the particularity of the kernel, the commonly used kgdb debugging mechanism does not fully support Ethernet. In addition, if the debugged The object involves the Ethernet protocol or protocol stack, and the kernel cannot be debugged based on the remote network. It can only work based on the serial port, and the serial port ...

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 Patents(China)
IPC IPC(8): G06F11/36G06F9/54
CPCG06F9/548G06F11/362
Inventor 叶怀胜
Owner LENOVO (BEIJING) LTD