Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Program debugging system with program analysis function

A program debugging and program analysis technology, which is applied in the field of program debugging system with program analysis function, can solve problems such as inability to quickly understand program code and inability to effectively handle complex large programs

Inactive Publication Date: 2013-03-13
CHINA UNIV OF MINING & TECH
View PDF2 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem that the existing debugging technology cannot effectively deal with complex large-scale programs and program developers often cannot quickly understand the codes in the program, the present invention provides a A program debugging system with program analysis function. The program debugging system is no longer limited to the traditional program debugging method, so that debugging is no longer just to analyze the current running state of the program. The program debugging system can record from the beginning of the program to the current state The debugger can view the complete execution process of the program, and debug and understand the program conveniently; the program debugging system can also record the application class and application method in one execution of the program, which can reduce the scope of attention of the debugger; the calculation of the present invention The control of the application method depends on the information, so that the dynamic program slicing of the debugging statement can be obtained, which can enable the debugger to obtain more accurate debugging information. At the same time, the system does not need to trace back the program when performing dynamic program slicing, and only the program execution process The method involved in the control dependency analysis can improve the efficiency of the algorithm, and the accuracy of the slice can be improved according to the stack information and control dependencies

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
  • Program debugging system with program analysis function
  • Program debugging system with program analysis function
  • Program debugging system with program analysis function

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] The program debugging system is aimed at the Java language and developed in the eclipse environment. It has standard debugging functions and extended debugging functions. Standard debugging features include stepping, setting breakpoints, inspecting variables and values, and suspending and resuming threads. The extended debugging functions include trajectory analysis, application class hierarchy analysis, control dependency analysis and dynamic program slicing.

[0060] The debugging steps of the program debugging system are as follows:

[0061] (1) Establish a connection with the target virtual machine. The Java program runs in the virtual machine Virtual Machine. To debug the target program Target, the program debugging system must first establish a connection with the target virtual machine TargetVM to obtain the target virtual machine image TargetVMMirror.

[0062] Implemented the VirtualMachine interface, which provides a set of methods that can be used to...

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 a program debugging system with a program analysis function. The program debugging system comprises debugging steps as follows; establishing connection with a target virtual machine, conducting standard debugging and conducting expansion debugging. The program debugging system is not limited to the traditional program debugging mode any longer; debugging is not to only analyze the current running status of a program any longer; debugging personnel can check a complete executing process of the program; debugging is convenient; and the program can be understood conveniently; the program debugging system can record application classes and application methods in one execution of the program and reduce attention ranges of the debugging personnel. When the system conducts dynamic program slicing, the program is not required to be traced and control dependence analysis is only conducted on methods concerned in the program executing process; the algorithm efficiency can be improved; and the precision of slicing can be improved according to stack information and control dependence relationship.

Description

technical field [0001] The invention relates to a program debugging system, in particular to a program debugging system with program analysis function for analyzing and understanding programs in the process of software debugging and system maintenance. Background technique [0002] Program debugging is the process of testing the compiled program manually or by compiling the program before putting it into actual operation, and correcting grammatical and logical errors. This is an essential step to ensure the correctness of computer information systems. As the scale of software increases day by day, traditional debugging techniques cannot effectively deal with complex and large programs. Large-scale application systems usually have millions of lines of code, and program developers often cannot quickly understand the code in the program, which brings great difficulties to program debugging and maintenance. [0003] In program debugging, the most common job is to find an error...

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 CHINA UNIV OF MINING & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products