Running in debug mode via an external program is incredibly slow. This is true wether I use the debug property "Start External Program" or try to attatch to a running process. Using a bare-bones basic test dll designed to be loaded and run by NUnit I find that "Run without debugging" (or running the program from outside VS2005) runs in seconds, whereas "Start debugging" takes 5-6 minutes. And thats not even to get started on how slow things go if I try to debug an actual project with content...
I've loooked at the various "VS2005 debugs slow" threads, and I have already tried, in various combinations and all together:
1) Disabled func eval.
2) Disabled MDAs.
3) Disabled the Visual Studio hosting process.
4) Disabled Edit and Continue.
5) Disabled unamanaged code debugging.
6) Disabled Just My Code.
7) Disabled every other non-essential piece of software on my machine, including virus and spyware scanners.
My machine doesn't seem to be using a particularly horrendous amount of its gig of memory for anything, and the CPU is barely ticking over; its just SLOW, and only from VS2005, and only while debugging. What's more, I can send the same project to the guy across the hall, who loaded VS from the same disk and NUnit from the same file, and it runs fine on _his_ machine. Running out of things to try; any ideas
Thanks,
- rob.

Debug with external program extremely slow in VS2005
Debbie Aarvig
Same deal here. It's strange, and becoming pretty unbearable.
For me, though, the devenv.exe eats 90-99% of the processor. The disk isn't churning. Just seems to display "loading symbols for ..." forever and ever. I literally attach to w3wp.exe, hit something in the browser, and wait 6-10 minutes. Even once the breakpoint hits, it's 50/50 as to whether or not it picks up speed then...
slimstarman
Afzal Khan
bobbye
Hendrikbez
Same boat here. Single stepping takes 10-15sec even on simple statements "int i=0;". CPU usage is low (<4%), the environment is not responsive during this time like it's sleeping. Not sure of the cause yet, but other projects don't seem to show this behavior.
Juanloco