A few days ago, the attach button in \"Attach to process\" dialogue became disabled in VS 2010 and VS 2008 likewise. At first I thought that it is just an extension I\'ve in
It could also be because there is already another debugger attached to the process - probably the currently running instance of Visual Studio but it may be another instance of Visual Studio, or another debugger entirely (such as WinDbg or a remote debugging session).
Check the "Processes" window (usually found under Debug -> Windows -> Processes) to see what processes Visual Studio is debugging.
Try stopping Visual Studio but don't close the process.