Tracing your APIs

API traces contain information on the calls made by one or more of your common API applications. For example, if you have an OLE application that is not working as you think it should, you could capture all the API calls that the application sends and receives. This information is displayed on the API Trace page, and is also saved to a file.

The events in the API Trace page are always listed with the most recent call at the bottom of the trace. Each row provides the time and date of the call, followed by the type of API call it is and the actual function name that made the call. In addition to this information, you can choose a call to split the page and display the Details pane.

The Details pane tells you the parameters associated with the call you selected. Each entry in this pane represents one parameter.

The API Trace page shows the following information:

  • The date the call was executed.

  • The time the call was executed.

  • The type of API that made the call. This is very helpful when tracing more then one type of API.

  • The name of the call that was made.

The API Trace page can also be split into two panes. The first pane contains the list of calls. The second pane, called the Parameter Details pane, provides the details for a specific call.

The Parameter Details pane shows the following information:

  • The type of value the parameter has.

  • The name of the parameter.

  • The value of the parameter.