Run Time Data Information to complement Run Time Type Information

Skybuck Flying <[email protected]> Sat, 24 Dec 2022 23:26:35 -0800 (PST)
Newsgroups alt.comp.lang.borland-delphi
Message-ID <[email protected]>
It could be a good, usefull and interesting idea to introduce a new concept and technology in Delphi for debugging purposes:

"Run Time Data Information".

This new/additional system/graph/tree would maintain information about object created and destroyed, and also there hierarchy/parent relation ship.

Subsequently this data information can be queried at run time in a multi-threading safe way, if objects are destroyed it will return safe operation/values and such, no crashing, for example false/object not found, etc.

This could be interesting to inspect and visualize the data structure of dynamic programs where object are created and destroyed constantly and maybe even being passed around, from function to function and thread to thread, etc.

Lastly, if the same could be done for I/O maybe some kind of

Run Time I/O information system that would be splendid as well !

For example TStreams, how big are the fields that they are reading, and such, in what order, what is the content etc.

This would allow much more "inspection" of existing computer programs, perhaps written by others ! ;) =D

Bye for now,
  Skybuck.