When you attach to a process in Vista/Windows 7 from Visual Studio 2008/2010, VS displays a warning message confirming if you want to attach to the process you just asked VS to attach to. (Breathe!)
To disable the warning, go to
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Debugger and set DisableAttachSecurityWarning to 1
For VS 2008 the path should be
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Debugger
Advertisement
2011/04/19 at 11:17 |
Not to be pedantic but you also need to restart VS
2011/04/19 at 11:17 |
…And thx
2011/04/19 at 12:13
NP