Method for implementing embedded type remote debugger terminal JDWP communication connecting proxy

A technology of remote debugging and communication connection, which is applied to the debugging components of ordinary java software and the realization field of JDWP communication connection agent on the embedded remote debugger side. Achieve the effect of simple structure, clear hierarchy and clear structure

Inactive Publication Date: 2009-01-21
ZHEJIANG UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are more or less problems with the development tools on the Sun website, such as complex configuration, lack of specificity, and the platform cannot be updated quickly; especially for an enterprise that needs to launch a new mobile phone or a new platform, it is necessary to develop own version of the development platform

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 for implementing embedded type remote debugger terminal JDWP communication connecting proxy

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention is a method for realizing JDWP communication connection agent (Connection Agent) of debugger (Debugger) end in embedded remote debugging software. The connection manager is attached to debugger and establishes a JDWP connection with debug agent or virtual machine end. Therefore, the data packets from the debug agent or the virtual machine side and the data packets sent to the debug agent or the virtual machine side are managed by it.

[0022] Combine below figure 1 Describe its specific implementation process.

[0023] 1) Establish a JDWP connection

[0024] Attached to the Debugger, the communication function is realized through the call of the JDI (Java Debug Interface) package, and the JDWP connection is established with the debug agent or the virtual machine to realize the exchange of data packets.

[0025] There are two basic formats of JDWP packets, command packets and reply packets. Since the command data packet needs to be sent by any en...

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 relates to the debugging technical field of the embedded mobile device corresponding software development and aims at providing a method for realizing embedded remote debugger end JDWP communication connection proxy. The method comprises: establishing JDWP connection, standardizing a called interface, supporting a socket communication mode and a shared memory mode simultaneously, resending cache and packet loss, and increasing the reliability of a system. The method has the main functions of achieving that a JDWP communication protocol is provided for a debugger to realize the debugging ability for JAVA virtual machine software, and the method has the characteristics of independence and simplicity.

Description

technical field [0001] The invention relates to the technical field of debugging for corresponding software development of embedded mobile devices, in particular to a method for implementing a JDWP communication connection agent at an embedded remote debugger end, which can also be used as one of the debugging components of common java software. Background technique [0002] The development of science and technology must always be realized through technological innovation, and technological innovation is endless. As China gradually becomes the world's largest mobile communication and application market, mobile value-added application services are rising rapidly. This should be the biggest business opportunity after the Internet. The market share of smartphones in the world and in China continues to grow rapidly. The development and application of various innovative mobile phone software is the source of power to promote the continuous development of the mobile value-added se...

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
IPC IPC(8): G06F11/36
Inventor 施青松陈剑陈天洲胡威严力科欧阳雷吴俊刘鑫罗尚虎蒋冠军
Owner ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products