I use a bunch of Sysinternals tools for diagnosing problems while developing. My two favorites are: Process Explorer , a more fully-featured version of Task Manager that can report environment variables for running processes, show loaded DLLs and even