Java code remote debugging method, device and system, equipment and medium
A remote debugging and java virtual machine technology, applied in the computer field, can solve problems such as difficult debugging code location, heavy workload, etc., to achieve the effect of reducing complex work, facilitating problem location, and simplifying debugging work
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] This embodiment provides a method for remote debugging of Java codes, which is used for remote debugging of controllers, such as figure 2 shown, including the following steps:
[0041] S1, docking with the jpda interface of the java virtual machine through an independently operated remote debugging controller, the remote debugging controller realizes the web interface, and the java virtual machine is the production environment, that is, the code for running the production environment;
[0042] S2. In the debugging state, the remote debugging controller receives the code file name of the browser through the web interface, searches for the debugging code to be loaded in the java virtual machine according to the code file name, and displays it to the browser through the web interface , for users to issue debugging instructions on the browser side;
[0043] S3. The remote debugging controller monitors and controls the state of the java virtual machine running the debuggin...
Embodiment 2
[0048] Such as image 3 As shown, a Java code remote debugging device is provided in this embodiment, which is installed in an independently running remote debugging controller, including:
[0049] The interface module is used for docking with the jpda interface of the java virtual machine;
[0050] The web interface is used to receive the code file name and debugging instructions from the browser;
[0051] The search module is used to find the debugging code that needs to be loaded in the java virtual machine according to the code file name, and display it to the browser through the web interface;
[0052] A monitoring module, configured to monitor the state of each process of the java virtual machine running the debugging code;
[0053] The control module is used to control the java virtual machine to put a breakpoint on the debugging code of each process to debug and obtain the debugging result;
[0054] The feedback module is used to feed back the debugging results to t...
Embodiment 3
[0060] In this embodiment, a Java code remote debugging system is provided, corresponding to such as figure 2 The system shown includes:
[0061] The java virtual machine runs the code in the production environment;
[0062] The remote debugging controller is used for docking with the jpda interface of the java virtual machine, runs independently and realizes the web interface; and in the debugging state, receives the code file name of the browser end through the web interface, according to the code file name in the described The java virtual machine searches for the debugging code that needs to be loaded, and displays it to the browser through the web interface, so that the user can issue debugging instructions on the browser; then monitor and control the state of the java virtual machine running the debugging code according to the debugging instruction and perform debugging , to obtain the debugging result, and feed back the debugging result to the user through the browser...
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