Method, tool and device for debugging application program

A technology of application programs and debugging methods, applied in the field of debugging, can solve the problems that the system is easy to enter an uncertain state and is difficult to repeat

Inactive Publication Date: 2010-06-16
IBM CN
View PDF1 Cites 41 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because the load applied during the stress test far exceeds the target average load of the design, in this case the system is prone to enter an uncertain state
This state of uncertainty is often difficult to repeat

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, tool and device for debugging application program
  • Method, tool and device for debugging application program
  • Method, tool and device for debugging application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Hereinafter, the debugging method and debugging tool of the present invention will be described in detail through embodiments with reference to the accompanying drawings. The following embodiments are described by taking the JAVA environment as an example, and those skilled in the art should understand that the present invention is not limited to the JAVA environment.

[0022] In existing debugging methods, when a problem occurs in an application running in a normal mode on an actual application platform, the tester usually needs to stop the running of the application. Then, restart the application in debug mode in the debugger to debug the application and find and correct errors. Finally, after debugging is complete, restart the application in normal mode on the actual application platform. figure 1 The relationship between the debugger 100 and the application program APP101 is schematically shown. The APP 101 runs in the environment simulated by the debugger 100, ju...

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 method, a tool and a device for debugging an application program. The debugging method comprises the following steps of: receiving a debugging command, wherein the debugging command at least specifies a debugged code in the running application program; interpreting the debugging command into a code for performing the debugging command; adding the code for performing the debugging command into the debugged code in the running application program; and performing an application program with the code for performing the debugging command, thus entering a debugging mode. The method for debugging the application program does not need to restart the application program, is favorable for debugging a system inconvenient to interrupt, and solves a program defect which can cause difficultly repetitive failure in running.

Description

technical field [0001] The present invention relates to the field of debugging, and more particularly, the present invention relates to methods and tools for debugging software programs. Background technique [0002] Today, when software technology is becoming more and more popular, debugging technology is an indispensable technology. Currently, programmers usually rely on debuggers for debugging operations. A debugger is an application or system that reads system tables and enables the programmer to interrupt (or suspend) execution of the program being debugged to display and inspect code, calculate and edit variables in the program, view registers, and View memory space used by applications. Generally speaking, the main debugging operations include: set a breakpoint - interrupt program execution when a certain line of code is executed (this operation is useful for checking error conditions); specify variables - change internal program variables, and see how the program r...

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/36
Inventor 肖文鹏李欣慧迟长燕
Owner IBM CN
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