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...

How to: 15 Excel features  to master your data 

How to: 15 Excel features to master your data

 
Toshiba's new 2013 laptops unveiled 

Toshiba's new 2013 laptops unveiled

 
New Kira Ultrabook is a stylish, aspirational gem, according to Toshiba 

New Kira Ultrabook is a stylish, aspirational gem, according to Toshiba

 
New list of soon-to-be NBN-enabled suburbs released 

New list of soon-to-be NBN-enabled suburbs released

 
Best iPhone apps this week 

Best iPhone apps this week

 
Latest articles on BIT Latest Articles from BIT
Federal Budget 2013: So what are you going to be required to pay?
15 May 2013
Opinion: Want a handy summary of the 2013 federal budget? Here is one by Newcastle accountants ...
Architects: another profession on the list of people using Evernote
10 May 2013
Yes, apparently the hugely popular Evernote note-syncing app is also being used by people who ...
In Brisbane? Setting up a business?
10 May 2013
Too embarrassed to ask even the most basic questions? Here's your chance to find out about ...
Worried about staff losing the office keys?
8 May 2013
Here's an interesting idea: a system which lets you assign a digital office "key" to your ...
Need a LOT more storage?
7 May 2013
Do you have multiple offices or servers? Are your systems requiring so much storage your IT ...

Latest Comments

Latest Competitions

Win a PC copy of DEFIANCE plus a Hellbug figurine and messenger bag! 

Win a PC copy of DEFIANCE plus a Hellbug figurine and messenger bag!

Win a Defiance prize pack and join the fight now!
 

Latest Poll

Which broadband network do you think is the best choice for Australia?



or View results
The Coalition's.
  19%
 
Labor's.
  63%
 
Screw this I'm going back to smoke signals and string on a can.
  19%
TOTAL VOTES: 1634

Vote now
Ads by Google

From our Partners

PC & Tech Authority Downloads