次の方法で共有


Attach To Process (Tools vs Debug Menu)

Keyboard:  CTRL + ALT + P
Menu:  Debug -> Attach to Process; Tools -> Attach to Process
Command:  Debug.AttachtoProcess; Tools.AttachtoProcess
Versions:  2008,2010
Published:  10/26/2010
Code:  vstipDebug0033

 

This one was interesting.  I decided to figure out what the difference between Attach to Process and Tools -> Attach to Process.  I'll spare you the suspense:  they are the same.  Yep.  The same. 

 

Okay so why are they there?  The answer is simple:  Prior to VS2010 when you didn't have a project open in Visual Studio it would not show the Debug menu.  So the only way you could use Attach to Process was to use the Tools menu:

image

 

But in VS2010 the Debug menu is available even when a project isn't open:

image