简体   繁体   中英

Remote Debugging Error

I've been refactoring some code which was previously working.

Now when debugging I get to a break point in the refactored code and when I step into the Property in question I get a message saying that Windows firewall is currently blocking remote debugging.

It doesn't make sense because the application is a console application being debugged through visual studio on my local machine. I am using VS2010 and .net 4.0.

Does anyone know why vs might be trying to remote debug?

what does your code do? does it access any external files and or databases? It could also be an administratrion issue, try rightclicking VS and run as admin first off and see if that fixes the issue. secondly trace your code and see if there is any links to externals, and thirdly go to windows firewall and change the settings to allow access to Visual studios~ and or databases/.net instances.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM