A memory debugging method and device
By parsing variable hierarchy names and retrieving them using the variable object registry and type registry, the problem of inconsistency between tables and programs during memory debugging was solved, achieving a stable and secure memory debugging process.
CN122309331APending Publication Date: 2026-06-30NR ELECTRIC CO LTD +2
View PDF 0 Cites 0 Cited by
Patent Information
- Application Number
- CN202610432011.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-02
- Publication Date
- 2026-06-30
AI Technical Summary
Technical Problem
Memory debugging relies on the symbol table and structure member variable offset table generated by the compiler, which can easily lead to inconsistencies between the tables and the program, resulting in abnormal query results.
Method used
By parsing variable hierarchy names and retrieving variable object and data type information using the variable object registry and variable type registry, the dependency on compiler-generated symbol tables and structure member variable offset tables is avoided.
Benefits of technology
It enables accurate acquisition of variable object information and data type information, avoids abnormal query results, and improves the stability and security of the memory debugging process.
✦ Generated by Eureka AI based on patent content.
Smart Images

Figure CN122309331A_ABST
Abstract
This application discloses a memory debugging method and apparatus, belonging to the technical field of computer and embedded devices. The memory debugging method includes: responding to a query command from an external program, parsing the variable hierarchy name in the query command to obtain the variable object name; searching in a variable object registry based on the variable object name to obtain the corresponding variable object information, which includes at least the variable object memory address and the variable object data type name; searching in a variable type registry based on the variable object data type name to obtain the corresponding data type information; calculating the actual memory address of the variable object; and generating a feedback command based on the actual memory address and data type information and sending it to the external program. By parsing the variable hierarchy name to extract the variable object name and searching in the variable object registry and variable type registry, inconsistencies between the tables and the program can be avoided, preventing abnormal query results.
Need to check novelty before this filing date? Find Prior Art