Remote debugging method and device
A remote debugging and target technology, applied in the Internet field, can solve problems such as the complexity of the remote debugging process, achieve the effect of improving efficiency and flexibility, and ensuring security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] In this preferred embodiment, a remote debugging system architecture is provided, which is located in the above-mentioned target machine 104, such as figure 2 As shown, the remote debugging system located in the target machine includes: an HTTP server (HTTP Server) 202 and a debugging manager (Debug Manager) 204 . The functions of these two network elements are described in detail below.
[0039] The HTTP Server is mainly responsible for receiving the user's Web request, forwarding the request to the Debug Manager for processing, and returning the processing result to the user through the HTTP protocol. Preferably, the HTTP Server communicates with the host computer 102 using the HTTP protocol, so that the user can directly debug the target computer 104 through the browser on the host computer 102 .
[0040] The Debug Manager is mainly responsible for managing user authentication, Gdb command inspection, Gdb command and execution result forwarding, and debugging the l...
Embodiment 2
[0055] exist Figure 1-Figure 4 Based on the remote debugging system and device shown, the present invention provides a preferred remote debugging method. Such as Figure 5 As shown, the method may include the following steps:
[0056] Step S502: Receive the debugging request transmitted by the host machine based on the HTTP protocol, wherein the debugging request carries debugging instructions and indication information for indicating the debugging target; the above debugging target can be: a process and / or file in the target machine; for The instruction information indicating the debugging target may be the name or address of the process and / or file.
[0057] Step S504: Responding to the debugging request, execute the debugging operation indicated by the debugging instruction on the debugging target indicated by the indication information;
[0058] Step S506: Return the debugging result to the host machine through the HTTP protocol.
[0059] In the above-mentioned prefer...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com