Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 crashes repeatedly

I've been running Visual Studio 2010 (the official release) for some time now. Lately, VS will crash 10+ times during my 8 hour work day. In VS2008, crashes were common when working with large Xaml files, and while I experience some of that with VS2010, crashes occur when debugging, starting the debugger, stopping the debugger, and other random times when editing code.

I've looked through the problem reports, and the one I've found that occurs most frequently is:

Description

Faulting Application Path: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe

Problem signature

Problem Event Name: APPCRASH

Application Name: devenv.exe

Application Version: 10.0.30319.1

Application Timestamp: 4ba1fab3

Fault Module Name: ntdll.dll

Fault Module Version: 6.1.7600.16385

Fault Module Timestamp: 4a5bdb3b

Exception Code: c0000005

Exception Offset: 0002e23e

I'm running Windows 7 (x64). Hoepfully someone has come across this problem and has found a solution. I plan on reinstalling VS2010. Hopefully that takes care of the problem.

like image 682
Quentamia Avatar asked Aug 04 '10 16:08

Quentamia


People also ask

Why does Visual Studio keep crashing?

If you experience crashes of Visual Studio, typically when working with a very large solution, your IDE might be out of virtual memory. Typical indicators of the problem include a "one or more errors occurred" message, "the process appears to be deadlocked" message, and OutOfMemory exception in a crash dump.

How do I stop Visual Studio from crashing?

Please open CMD and go to C:\Program Files (x86)\Microsoft Visual Studio\2019\version name\Common7\IDE folder, run the command: devenv /safemode to run your Visual Studio in safe mode. Then, create a new project and check if the installed extensions lead to the problem or not.


1 Answers

Do you think you have installed any extra Extensions which might lead to frequent crashes?

You can try

Devenv.exe /SafeMode 

to start in Safe mode. You can also try

Devenv.exe /Log 

Which will log all activity. Have not tried this so don't know What activities are logged.

Visual Studio 2010 Command Line Switches

like image 156
Shoban Avatar answered Oct 02 '22 14:10

Shoban