I am profiling my C# WinForm project in VS 2010, SP1. IDE crashes after profilig is finished and analyzing is done, but results are not yet displayed. I can manualy process my report by cmd: >VSPerfReport.exe /summary:all "Report111229(4).vsp"
but i would like to get analysis results in VS also, .csv files generated by tool are not so nice.
Interesting is that VS will crash when I use Instrumentation and Sampling, but not when I use Concurrency.
Some ideas or advices how to fix this?
Some people are able to get around this using one of four techniques.
disabling all visual experience options in VS 2010 by deselecting the option in Tools --> Options --> Environment --> General | Visual Experience
disable HW Acceleration for WPF by setting the registry value HKEY_CURRENT_USER\SOFTWARE\Microsoft\Avalon.Graphics\DisableHWAcceleration
to 1
disable the Concurrency option Collect resource contention data
select Enable source server support
in Tools --> Options --> Debugging --> General
These all stink but may work long enough to allow you to do what you need
Try excluding the Performance file from source control
What resolved the problem for me was excluding the Performance file (e.g. Performance.psess) from source control (in our case TFS) and ensuring that none of the .psess and .vsp files are marked read only.
I hope this helps someone else too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With