Visual Studio 2008 Debugger incorrectly renders C ++ as a language when in a C # solution

I had this problem for a while, but now it is blocking me.

Any solution I edit or create is stuck in C ++ mode. The stack trace shows "Language" as C ++, and the clock behaves differently - it displays memory addresses, etc.

ASP.NET debugging is also done in the sense that it doesn't work at all. However, this may be unrelated.

I have reset my settings to their defaults and view all the options in the Tools> Options dialog. I'm running out of ideas.

Any hints?

UPDATE: I uninstalled VS 2008 completely and then re-installed and applied SP1. The same problem occurs.

Then I deleted the following directories: C: \ Users [username] \ Documents \ Visual Studio 2008 C: \ Users [username] \ AppData \ Local \ Microsoft \ VisualStudio C: \ Users [username] \ AppData \ Roaming \ Microsoft \ VisualStudio

Without changes. The problem is still happening.

alt text

+2


a source to share


1 answer


We can check the types of solutions and projects. Open the .sln file in a text editor. Look for tags Project

:

Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") -- indicates a C++ project
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") -- indicates a C# project

      

These projects are listed in the registry in HKLM\SOFTWARE\Microsoft\VisualStudio\9.0\Projects

. If you open this key, you will see these and many other project types:



{66A26720-8FB5-11D2-AA7E-00C04F688DDE} Solution
{F184B08F-C81C-45F6-A57F-5ABD9991F28F} VB
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} C#
{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942} C++
{E6FDF86B-F3D1-11D4-8576-0002A516ECE8} J#
{E24C65DC-7377-472b-9ABA-BC803B73C61A} Web

      

I would check if the C # GUID is there and that its values ​​are mapped to things that look like C #.

0


a source







All Articles