Now that you've seen the mechanics of the Visual Studio debugger and gained a good idea of its capabilities, in this chapter you'll examine this debugger in more detail and look at some of its more advanced capabilities. The Visual Studio debugger is a complex and powerful beast , so it's worthwhile spending some time investigating its capabilities if you want to exploit its power.
Before you can start debugging any managed or native code that's running under your own user account, you must be a member of either the Debugger Users group or the Administrators group . To do this, go to the Control Panel, choose Administrative Tools ’ Computer Management ’ System Tools ’ Local Users and Groups ’ Groups, and add yourself to the relevant group.
If you want to debug managed code running under a different user account, you must be a member of the Administrators group. To debug native code that's running under another user account, you must have the SE_DEBUG_NAME permission in the local security policy. By default, the Administrators group has this permission.