Random Coder 99
Random Coder 99

Reputation: 386

Visual Studio 2015 crashes when starting debugger

When compiling my C++ project or running it, everything is fine.
But when starting my project with the debugger, Visual Studio 2015 crashes.
I tried this, I have found two errors:

<entry>
  <record>484</record>
  <time>2017/02/14 14:09:32.187</time>
  <type>Error</type>
  <source>Color Theme Service</source>
  <description>The color &apos;Popup&apos; in category &apos;de7b1121-99a4-4708-aedf-15f40c9b332f&apos; does not exist.</description>
</entry>

and

<entry>
<record>558</record>
  <time>2017/02/14 14:10:08.617</time>
  <type>Error</type>
  <source>VisualStudio</source>
  <description>Loading UI library</description>
  <guid>{8C0C630B-37F1-11E3-8259-6C3BE516EAD0}</guid>
  <hr>800a006f</hr>
</entry>

I don't know what to do to make VS's debugger work.

Edit: I use the dark theme if this can help...

Upvotes: 0

Views: 1663

Answers (2)

W. Dan
W. Dan

Reputation: 1027

I have a similar issue to this: https://developercommunity.visualstudio.com/t/visualstudio-crashes-while-debugging/915932. The Windows event log indicates that vsdebug.dll crashed.

Crash Log:

Faulting application name: devenv.exe, version: 16.4.29806.167, time stamp: 0x5e3cf159
Faulting module name: vsdebug.dll, version: 16.0.29724.72, time stamp: 0x5e3129d2
Exception code: 0xc0000005
Fault offset: 0x0007cb70
Faulting process id: 0x522c
Faulting application start time: 0x01d5e1b576573b00
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\devenv.exe
Faulting module path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Packages\Debugger\vsdebug.dll

Solution:

  1. Locate the path "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Packages\Debugger".
  2. Delete vsdebug.dll.
  3. Copy vsdebug.dll from another PC to this one.
  4. Enjoy it!

Upvotes: 0

Jack Zhai
Jack Zhai

Reputation: 6436

One issue is that whether all projects have the same issue or just the specific one.

(1) Collect the crashed dump file and debugging it is also a good suggestion for the crashed issue.

(2) I also provide some suggestions which could narrow down this issue.

  • Please uncheck symbols server under Tools -> Options -> Debugging -> Symbols.
  • Uncheck "Edit and continue", "Load dll exports (native only)" and "enable just my code(managed only)". Debug it again.
  • Disable the IntelliTrace under TOOLS->Options->IntelliTrace, and "Use Native Compatibility Mode" under TOOLS->Option->Debugging->General or mix mode/native debugging project property(right click project->Debugging). Test it again.

I met the crashed issue before which was related to certain settings, so if possible, you could test it in your side.

But if all projects have the same issue, I suggest you repair your VS, or install the latest update package for your VS, and then debug it again.

If just one specific project has this issue, we would think about the project itself.

Update:

As our discussion, I found that you have reported this issue here:

https://connect.microsoft.com/VisualStudio/Feedback/Details/3123487

I will help you vote it and add my comment there. If I get any latest information from the report team, I will update it here.

Upvotes: 2

Related Questions