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

Debugging tool and debugging method and system thereof

A debugging tool and debugging method technology, applied in software testing/debugging, error detection/correction, program control design, etc., can solve the problems of wasting memory space, debugging tools occupy a large amount of memory, and the debugging process cannot be performed flexibly. Find, improve debugging efficiency, fast and intuitive positioning effect

Pending Publication Date: 2020-10-09
JIANGSU HENGBAO INTELLIGENT SYST TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the debugging tool reserved in the smart device takes up a large amount of memory, which wastes a lot of memory space when debugging is not needed, resulting in inflexible debugging.

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
  • Debugging tool and debugging method and system thereof
  • Debugging tool and debugging method and system thereof
  • Debugging tool and debugging method and system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] Embodiment 1 of the present application provides a debugging tool, such as figure 1 As shown, it includes: a protocol communication processing unit 11 and a debugging instruction processing unit 12 that run in patch form and have a debugging function;

[0032] The protocol communication processing unit 11 is used to establish a communication connection between the debugging tool and the host computer, specifically to receive the debugging instructions sent by the host computer according to a predefined communication protocol. The predefined protocol includes processing data headers, receiving data, setting sending length, sending data, send status word;

[0033] The debugging instruction processing unit 12 is used to process the received debugging instruction, and specifically includes a debugging instruction processing function entry module 121, a virtual machine execution controller module 122 and a debugging command parser module 123:

[0034] Wherein, after receivi...

Embodiment 2

[0045] Embodiment 2 of the present application provides a debugging system, such as figure 1 As shown, it includes a device to be debugged 1 running the debugging tool described in Embodiment 1, and a host computer 2; the device to be debugged 1 establishes a communication connection with the host computer 2 through a protocol communication processing unit 11 .

[0046] Wherein, the host computer 2 implements the functions of setting breakpoints in the device to be debugged, stepping through the Java applet code, viewing and modifying variables in the Java applet code through the user debugging interface.

[0047] After the device to be debugged informs the upper computer that the breakpoint event has been triggered and the response data at the location where the breakpoint stops, the upper computer correctly displays the cursor on the code breakpoint position on the user debugging interface according to the response data.

[0048] In addition, after the virtual machine of the...

Embodiment 3

[0050] Embodiment 3 of the present application provides a debugging method. The debugging tool described in Embodiment 1 is run in the device to be debugged, wherein the device to be debugged can be a physical smart device (such as a smart card, security hardware, etc.) or an analog smart device. The device application, if it is a physical smart device, establishes a communication connection with the host computer through a card reader, and if it is an analog smart device application, it directly uses a predefined communication protocol to establish a communication connection with the host computer.

[0051] In the embodiment of the present application, the processing mechanism with the protocol communication processing unit and the debugging instruction processing unit is run on the basis of the original processor of the device to be debugged. The processing mechanism can be set in the device to be debugged in advance; the device to be debugged establishes a communication conn...

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 debugging tool, a debugging method and a system thereof. The debugging tool comprises a protocol communication processing unit and a debugging instruction processing unit which operate in a patch mode and have a debugging function. The protocol communication processing unit is used for realizing communication with external equipment; the debugging instruction processing unit is used for processing a received debugging instruction and specifically comprises a debugging instruction processing function entry module, a virtual machine execution controller module and a debugging instruction parser module. According to the scheme provided by the invention, post-loading is realized in a patch form, i.e., when the byte code needs to be debugged, re-loading is carried out,and source code debugging is carried out after loading, so that the problem of the byte code can be positioned more quickly and intuitively, and the debugging efficiency is improved.

Description

technical field [0001] The present application relates to the field of debugging, in particular to a debugging tool and a debugging method and system thereof. Background technique [0002] With the development of the times, the generation of various smart devices is becoming more and more rapid. During the production process of smart devices, developers generally reserve some special debugging programs in the products to configure and generate corresponding debugging tools. It is used for function debugging and machine testing after the product is generated. [0003] However, the debugging tool reserved in the smart device takes up a large amount of memory, and a large amount of memory space is wasted when debugging is not needed, which makes the debugging process inflexible. Contents of the invention [0004] This application provides a debugging tool, including a protocol communication processing unit and a debugging instruction processing unit that run in the form of a...

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/36G06F9/455
CPCG06F11/362G06F9/45558G06F2009/45591
Inventor 钱京刘建丽曹炜
Owner JIANGSU HENGBAO INTELLIGENT SYST TECH CO LTD