On-line real-time debugging method for panoramic data on basis of denomination variation

A technology of naming variables and debugging methods, applied in software testing/debugging, etc., can solve the problems of not knowing the correspondence between memory addresses and variables, expensive emulators and debugging tools, and inability to plug and debug the system, so as to improve development Efficiency, the effect of improving the efficiency of engineering maintenance

Active Publication Date: 2011-05-18
STATE GRID ELECTRIC POWER RES INST
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This debugging method has obvious disadvantages: it takes up more system resources, and some systems must rely on the JTAG port of the chip. The emulator and debugging tools are expensive, and it is not possible to perform plug-and-play debugging on the running system, and it needs to be restarted before debugging. System, re-downloading programs and other cumbersome steps
The dynamically allocated variables are allocated during the initialization of the program, and the address of these variables is unknown before running. Since the CPU runs binary instructions, the corresponding relationship between the memory address and the variable is not known during the running process, so These dynamically allocated memory lack effective debugging methods

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
  • On-line real-time debugging method for panoramic data on basis of denomination variation
  • On-line real-time debugging method for panoramic data on basis of denomination variation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention will be further described in detail below with reference to the accompanying drawings and examples. However, the invention is not limited to the examples given.

[0022] An online real-time debugging method for panorama data based on named variables, in a method such as figure 1 The shown debugging device is implemented on a debugging device composed of a debugging host and a board-type device. The board-type device includes: a main CPU board running a debugging agent program, and a plurality of slave CPU boards communicating with the main CPU , the debugging main program runs on the debugging host, and the debugging method includes the following steps:

[0023] Step 1: The debugging host obtains the memory address of each static variable in the slave CPU board according to the compiler, and the debugging host scans the application source program of the slave CPU board to obtain the offset addresses of all dynamic variables in each structure relat...

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 an on-line real-time debug method for panoramic data on the basis of denomination variation, belonging to the technical field of dynamic memory debugging for embedded software. By a registration system, a dynamic object (the embodiment of a structure) registers the name and the memory address of the object to a debugging agent program via a communication link during initialization; the debugging agent program is combined with a locally stored member variable offset table to generate the address information of all members (dynamic variables) of the object; and the address information is supplied for a host debugging system for on-line debugging. With the method, the device can be debugged on line in real time under the condition of uninterruption and no restarting and is used for tracking the operation state of the system. Through the application of the debugging method, the development efficiency of protective application developers and the engineering maintenance efficiency of the engineering maintenance personnel are improved.

Description

technical field [0001] The invention relates to an online real-time debugging method of embedded software. Background technique [0002] With the development of embedded systems, embedded systems are now used in almost all electronic and electrical equipment, high-end embedded processors have been widely used, system-on-chip, deeply embedded, distributed multi-processor The development of speed has brought great challenges to traditional debugging methods. Debugging is an essential part of the embedded system development process, which accounts for 20% to 30% of the entire development time. Its importance is self-evident. [0003] The traditional debugging method is to connect with the embedded system through the emulator, run the integrated development and debugging tool on the host, and the debugging tool has editing, compiling, linking and debugging environment, because the symbol table information of the embedded system is saved in the debugging environment of the host...

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 STATE GRID ELECTRIC POWER RES INST
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