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
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2010-06-16
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
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...
Examples
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...