Watch everything your applications are doing with API Monitor

Watch everything your applications are doing with API Monitor

When you need to track an application’s behaviour Sysinternals Process Monitor is a great place to start.

In a click or two you can be watching the target program’s file, Registry and process-related activities, perfect for troubleshooting all kinds of odd problems.

Of course Process Monitor is watching only a relatively small number of Windows API calls, in an effort to keep things simple. These are well chosen, and will help you solve most common issues. But if your problem relates to something the program doesn’t track – an Internet function, say – then you might want to try a more powerful troubleshooting tool, like API Monitor.

We say “might”, because API Monitor is a full-strength developers tool. It can track thousands of API calls, will tell you about parameters, return values and call stacks, allow you to set breakpoints, and generally provide all kinds of information and options which will leave non-developers baffled.

API Monitor can track all kinds of program activity

And yet, the program’s core operation really is simple enough that experienced Windows users might find it useful for troubleshooting purposes. (And as it’s free, portable and a relatively small download, there’s no harm in giving it a try.)

As an example, launch Internet Explorer and load a web page (anything will do).

Launch apimonitor-x86.exe as an Administrator (if you’re using Windows Vista or later; fire up apimonitor-x64.exe if you’re running 64-bit IE).

Over in the top left corner you’ll see the API Filter pane, which tells the program which API calls you’d like to monitor. Find and check “Internet” in the list.

In the bottom left corner you’ll see a list of running processes. Find iexplore.exe, right-click it and select “Start Monitoring” (repeat that for any other copies of iexplore.exe you might have in that list).

Switch back to Internet Explorer, click any link and allow the new page to load.

Now return to API Monitor, and you’ll see the Summary pane now has a (probably) lengthy list of web-related calls to IEFRAME.dll, urlmon.dll and more. Calls with errors will be highlighted in yellow, and the “Error” column will tell you more, so even if you’ve absolutely zero programming knowledge then you might be able to pick up some useful troubleshooting clues from what’s available here.

If you’d like more detail, just click on a particular call – one of the “CommitURLCacheEntryA” entries, say – and check the Parameters window for information on URLs, file names, dates, times and everything else being passed by IE.

And while we’ve just chosen the Internet category for this brief example, there are plenty of other interesting options in the API Filter pane :”Devices”, “DirectX Graphics and Gaming”, “Documents and Printing”, “Networking” and more, each capable of displaying a huge amount of information about what’s happening on your PC.

Of course Process Monitor should still remain top of your list for troubleshooting odd program and system behaviour: it’s powerful enough to help you solve most issues, while remaining relatively easy to use.

If Process Monitor can’t help, though, it may be worth giving API Monitor a try. The program is vastly more complex, but an experienced PC user should still be able to produce basic reports from it without too much difficulty, and these may provide troubleshooting clues which simply aren’t available any other way.

Please note, though, the download we’re referencing here is an alpha build, and so likely to contain bugs. We had no problems in our testing, but play safe anyway: don’t run API Monitor on any system where you’ve unsaved documents, or while you’re running other important tasks.

Source: Copyright Software Crew

See more about:  api  |  security  |  registry  |  track
 
 

Readers of this article also read...

This unassuming tower from Silverstone just restored our faith in the component industry. 

This unassuming tower from Silverstone just restored our faith in the component industry.

 
Best Android apps this week 

Best Android apps this week

 
Mini Group Test: Portable Hard Disks 

Mini Group Test: Portable Hard Disks

 
In Pictures: LG's new Ultrabook and Tab-Book range 

In Pictures: LG's new Ultrabook and Tab-Book range

 
How to: 15 Excel features  to master your data 

How to: 15 Excel features to master your data

 
Latest articles on BIT Latest Articles from BIT
Handy apps: a McAfee app that remembers all your passwords
14 Jun 2013
If you've got 10 passwords you have to remember for web sites, bank accounts, work systems and ...
Small business rallying cry continues before election
13 Jun 2013
Hate paperwork? Find taxes too complicated? Then the organisers of this nation-wide petition ...
Worried about your office being broken into? Here's 12 ways to protect your valuables
7 Jun 2013
My office was broken into not once, but twice. Here are 12 things we learned that you can use to ...
Mobotix MxActivitySensor reduces false alarms from your office IP surveillance cameras
6 Jun 2013
Security system offers a more reliable level of service while it also reduces bandwidth costs.
Backed up your data? Small office NAS boxes are getting more advanced
4 Jun 2013
Synology has just announced two new NAS boxes that bring some high-end big business level ...

Latest Comments

Latest Poll

Which side are you choosing in the new console wars?



or View results
The Xbox One
  17%
 
The PlayStation 4
  29%
 
A console? Good Lord no - PC for me thanks!
  54%
TOTAL VOTES: 1280

Vote now
Ads by Google

From our Partners

PC & Tech Authority Downloads