Check patentability & draft patents in minutes with Patsnap Eureka AI!

A java bytecode debugger and debugging method

A debugging method and bytecode technology, applied in software testing/debugging, instrumentation, electrical digital data processing, etc., can solve problems such as inability to intuitively and accurately locate, low debugging efficiency of Java software engineers, and achieve the effect of improving debugging efficiency

Active Publication Date: 2018-11-06
HENGBAO
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Because in the above process of debugging the Java source code, what is encapsulated into the Java card chip and runs on the virtual machine is actually Java bytecode, which makes the above-mentioned debugging method based on the Java source code unable to help engineers intuitively and accurately To locate abnormal problems in the middle of running, making the debugging efficiency of Java software engineers relatively low

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
  • A java bytecode debugger and debugging method
  • A java bytecode debugger and debugging method
  • A java bytecode debugger and debugging method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0043] Embodiments of the present invention provide a Java bytecode debugger 1, such as figure 1 As shown, the Java bytecode debugger 1 includes a symbol library module 2 , a cache module 3 , a debugging module 4 , a stack analysis module 5 and a reference analysis module 6 .

[0044] Wherein, the symbol library module 2 is used to obtain symbol information (symbol) from the Java source code file, and store the symbol information.

[0045] Optionally, ...

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 Java bytecode debugger and debugging method which are used for improving the debugging efficiency of Java software engineers, and relates to the technical field of software engineering. The Java bytecode debugger comprises a symbol library module, a cache module, a debugging module, a stack analysis module and a quote analysis module; the symbol library module is used for acquiring symbol information from a Java source code file and storing the symbol information; the cache module is used for acquiring symbol information and data information from a Java bytecode file and caching the symbol information and the data information; the debugging module is used for being connected with a virtual machine through a Keil channel, and therefore the Java bytecode file can run and be debugged on the virtual machine; the stack analysis module is used for receiving a Java stack in a memorizer of the virtual machine running to a breakpoint position and analyzing the Java stack; the quote analysis module is used for analyzing a Java quote corresponding to a Java bytecode when the virtual machine runs to the breakpoint position. The debugger and debugging method are used for debugging the Java bytecode.

Description

technical field [0001] The application relates to the technical field of software engineering, in particular to a Java bytecode debugger and a debugging method. Background technique [0002] The Java language has been applied to the programming of various applications. The smart card written by the Java language in the card chip system is also called a Java card. The Java card includes Java bytecode compiled from Java source code and written by C program. The virtual machine is used to parse and execute Java bytecode. [0003] At present, the system programs in the Java card are debugged based on the Java source code. Generally, it is realized by adding a debugging plug-in on the eclipse development platform and connecting the debugging plug-in to the virtual machine. The specific debugging process includes compiling the Java source code into Java bytecode. and running the compiled Java bytecode on the virtual machine. [0004] Because in the above process of debugging the...

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/362G06F11/3624G06F11/3664
Inventor 魏勇
Owner HENGBAO
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More