Method for formatting C++ objects in a storage dump
Original Publication Date: 2002-May-21
Included in the Prior Art Database: 2003-Jun-20
In reading a storage dump from a C++ application, it is helpful in the debug process to be able to view the attributes of objects, given a pointer to the object. However, for object oriented languages like C++ the attributes of an object are placed in storage in a manner not known to the application or the debugger. Being able to find and format the attributes of a C++ object in a storage dump without requiring internal knowledge of the compiler processing or making extensive manual updates to the application code would solve this problem. Assume the existence of a dump of storage in some sort of file and some application which allows access to it and the ability to run 'formatter' code that process it. Assume that the application whose data is contained within the dump consists of C++ code including a set of headers defining the various application classes (including attributes and methods).