Unable to automatically debug "XXXXX“
I solved this issue by going to
C:\Program Files\Microsoft VisualStudio10.0\Common7\IDE
then running
vsdiag_regwcf.exe -i
Remark: I'm running an x64 version of Win7, and though 99% of Visual Studio is located in C:\Program Files (x86)\, this tool is in C:\Program Files\