0

When I try to attach the w3wp.exe process in order to debug asp.net process, a pop-up alerts me that this "can potentially harm your computer".

enter image description here

I just wonder why.

anmarti
  • 5,045
  • 10
  • 55
  • 96

2 Answers2

2

Are you by any chance NOT running visual studio as Administrator? Visual studio needs to be running as Administrator to attach to the ASP.NET worker process without popping up that warning.

EDIT: Looks like this issue is answered in this SO post

Community
  • 1
  • 1
levelnis
  • 7,665
  • 6
  • 37
  • 61
1

IIRC, some older trojans/viruses used debug attachment as a mean to hook into other programs/services.

Nowadays you get a warning. Focus here is not on the words 'harm your computer'. It asks you to check if the process listed is what you'd expect. Imagine that popping asking to debug chrome.exe or skype.exe when you was just idling. That would make me freak out for sure.