Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Process debugging method and device and storage medium

A technology for process and target process, applied in the field of process debugging, to achieve the effect of convenient and fast real-time debugging and management

Pending Publication Date: 2020-06-12
ZTE CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention provides a method, device and storage medium for debugging a process, which are used to solve the problem in related technologies that the running of the process needs to be interrupted before the process can be 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
  • Process debugging method and device and storage medium
  • Process debugging method and device and storage medium
  • Process debugging method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0030] The present invention provides a tool that can conveniently perform real-time debugging and management of each process. The tool is called Unified Shell (hereinafter referred to as Ushell), through which various processes can be debugged and managed in real time. For example, users can use the Ushell client tool or directly log in to the management interface of the Ushell server through telnet to view the currently running process and the status of each proce...

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 provides a method and device for debugging a process and a storage medium, and aims to solve the problem that the process can be debugged only by interrupting running of the process in related technologies. The method comprises the following steps: writing a received command for a target process into a pre-created socket port; reading the command by inputting a processing task, so that a command parser acquires, parses and runs the command from a pseudo terminal of the target process; and reading a running result of the command from the pseudo terminal by outputting a processingtask. According to the invention, the process can be debugged and managed in real time conveniently and quickly.

Description

technical field [0001] The invention relates to the technical field of operating systems, in particular to a method, device and storage medium for debugging a process. Background technique [0002] Modern mainstream operating systems, such as Linux and Windows, adopt the separation of kernel mode and user mode, support multiple processes and have independent process spaces. The application software developed on this basis runs in its own process space once executed. If the program developer wants to debug the application program, he must use a special debugger, such as gdb, to attach to the thread to be debugged, so as to obtain information such as the current variable value and stack call relationship in the process space. Because gdb needs to interrupt the running of the program, and it has overhead such as memory usage, this method is not suitable for simple debugging and maintenance in the commercial environment of the live network. In view of this, it is necessary to ...

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/3636G06F11/36
Inventor 缪红保
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products