Method and device for debugging application program

A technology for applications and debugging applications, applied in the field of computer applications, can solve problems such as the complexity of terminating debugging of applications being debugged, and achieve the effects of improving system performance and system availability, reducing debugging costs, and reducing size

Inactive Publication Date: 2015-01-21
NSFOCUS INFORMATION TECHNOLOGY CO LTD +1
View PDF3 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a method and device for debugging an application program, which are used to solve the problems that the debugged application program is terminated and the debugging complexity is high when the current debugger is debugging the debugged application program

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to solve the problems of termination of the debugged application program and high debugging complexity in the process of debugging the debugged application program by the current debugger. In the embodiment of the present invention, a monitoring component is added to the application program being debugged. When the debugging system is started, the monitoring component enters the process of the debugging system; and the related information of the debugged function, and send the monitored related information of the debugged variable and the related information of the debugged function to the debugging system; the debugging system according to the related information of the debugged variable and the related information of the debugged function, Output debugging results. By adopting the above technical solution, a monitoring component is added to the debugged system, and the debugged application is reversely attached to the debugging system through the monitoring c...

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 method and device for debugging an application program. A monitoring component is added into a debugged system. The debugged application program is subjected to reverse attach into a debugging system through the monitoring component, and the debugging system does not need to be subjected to attach into the debugged application program. Accordingly, during application program debugging, the debugged application program does not need to be ended, the debugged application program can be subjected to dynamic debugging, and system performance and system availability are improved. The relevant information of a debugged variable and relevant information of a debugged function are sent to the debugging system through the monitoring component, the debugging system directly outputs debugging results according to the relevant information of the debugged variable and relevant information of the debugged function, on the basis that the debugged application program does not export a debugging symbol table, a disassembling mode does not need to be used for debugging the debugged application program, and the complexity of application program debugging by the debugging system is effectively lowered.

Description

technical field [0001] The invention relates to the field of computer applications, in particular to a method and device for debugging application programs. Background technique [0002] At present, when debugging an application program in a computer, a method of loading (attaching) a debugger into the process space of the debugged application program is usually adopted. [0003] When using the above method to debug the debugged application program, the central processing unit (Central Processing Unit, CPU) executes the debugging instruction sent by the debugger, so that the debugger enters the process space of the debugged application program. At this time, the CPU will The debug command stops the operation of the debugged application even if the debugged application is terminated, and enables the debugger to acquire the debugged parameters. However, in a network application scenario, the termination of the above-mentioned called application program will cause network inte...

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 NSFOCUS INFORMATION TECHNOLOGY CO LTD
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