I have a friend that asked me this question and I could come up with only one solution, but I'd be interested in hearing what other possibilities are out there.
Q: Is there any way to "trap" and then log all method calls to all objects in an application? We're talking several hundred classes and many, many methods. Is there any way to hook into the Delphi object model and do this?
My suggested answer was to take all the base classes and add code to the methods to log the calls and parameters of each of the methods. This is not a desirable solution, but at the moment it is the only one we could come up with.
I'm not aware of any single point to trap method calls, except possibly in COM or CORBA objects, which these are not. Anyone have any thoughts or a solution?