How to monitor, inspect and break on COM calls

A colleague recommended API Monitor from rohitab.com for monitoring COM calls between components. I’ve installed it and have to agree that it looks really promising:
APIMonitor
For the tool to be useful, you have to tell it about your custom COM interfaces by generating an XML file in a similar format to IDL – obviously room for improvement there by the authors (I wonder why they don’t read IDL files natively?). Having said that, once you have provided the interfaces, API Monitor will log all calls via those interfaces on any components that you specify. Better still, you can inspect the values in each call and even set breakpoints that will take you into the debugger of your choice (e.g. Visual Studio).

Leave a comment

Filed under Programming

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.