Reputation: 3100
I recently upgraded from Visual Studio Professional to Ultimate. The upgrade process worked perfectly and it ran fine for two days however the following operations are now exceedingly slow (2-3 minutes of 100% cpu)
any advice on how to troubleshoot this?
other info
update - i've tried a few other projects i have lying around but it's only slow with the one i work on all day every day.
things tried:
looking in process monitor i've spoted that after the long wait on ending a debug session i get several Name Not Found events to things like (last string changes)
KCU\Software\Microsoft\VisualStudio\10.0_Config\ToolWindows{9F3EC988-1174-4746-A66A-3969715D1FC7}
on starting a debug session the last thing before the debug session is a few hundred writes/reads to
C:\Users\me\AppData\Roaming\Microsoft\VisualStudio\10.0\Design_tzss3kfu.pzf.winprf
then a minute later i get an access to
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\Debugger\cpde.dll
& finally an access to
HKCU\Software\Microsoft\VisualStudio\10.0_Config\ToolWindows{9F3EC988-1174-4746-A66A-3969715D1FC7}
which is not found :(
Upvotes: 1
Views: 3604
Reputation: 3100
Just fixed the problem: using this: Slow debugging issue in Visual Studio
the .suo file in my project was some 15Mb, after deleting it it visual studio recreated it and it went down to 150Kb. & i can now start and stop debug sessions nigh on instantly.
Also the problem with setting options in tools options screen (took 2-3min) seems to have disappeared - this was happening even when i had no project open so i dont know how deleting a .suo file in one project would fix that?!
what should i do with this question? the answers above whilst helpful did not solve the problem
Upvotes: 1
Reputation: 888087
I've seen this happen when VS tries to connect to an external server.
If that doesn't help, start a second copy of VS and attach its debugger to the first one.
When it freezes, pause it in the second copy and look at the call stack.
This will tell you what is wrong.
Upvotes: 2
Reputation:
there are may be many thing slow down your PC.
How many addons you have in your IDE
if this is not a problem then don't try Windows Automation API 3.0 improves VS 2010 performance because you already have window 7 you descibed.
try to run them in safe mode that it may work well.
you can try many utilities to check where i am going wrong some are here http://technet.microsoft.com/en-us/sysinternals/bb795533.aspx
if you use original Visual studio 2010 then you can contact Microsoft Fixit or Microsoft connect and also Asp.net forums
i thing your setting could not be set properly so create a new admin user delete the old and use with new and you feel that your visual studio Run very fast then last try this and feel make happy
Upvotes: 0
Reputation: 417
On Windows XP and Vista machines, making sure Windows Automation API 3.0 is installed and running greatly helps performance (it helped my laptop). Not sure if this applies to Windows 7 Home since it may already be installed.
Windows Automation API 3.0 improves VS 2010 performance
Upvotes: 2
Reputation: 13350
You may need to upgrade your development machine. What are the stats? Visual Studio, although it's a wonderful wonderful IDE, it tends to eat resources like the cookie monster.
Edit If you're compiling the same projects/solution often, have you tried doing a clean build and then running? Not sure if that's your issue but it's something else you could try.
Upvotes: 0
Reputation: 5150
It is possible the the setting file in your My Documents\Visual Studio 2010\Settings is partially currpted. You can rename this file CurrentSettings.vssettings and it will recreate it.
Upvotes: 1