摘要 |
<p>The present invention is directed to computer software compilation systems and methods which support run-time data type identification of objects in computer programming languages which support polymorphism. The present invention comprises translators, compilers, and debuggers. The compiler and translator store modified debug information in an object code file. The modified debug information contains information regarding either multiple virtual tables or concatenated virtual tables. A debug lookup table is constructed from the modified debug information. The debugger uses the debug lookup table to determine the actual data types of the objects, and to completely and accurately display and modify the objects' contents. Also, innovative type inquiry operators reference the concatenated virtual tables to determine the actual data types of the objects during run-time. The operation of the compiler, translator, and debugger is transparent to computer programmers and operators. Therefore, the compiler, translator, and debugger support run-time data type identification of the objects in the computer programs in a user-friendly and error-free manner.</p> |