C# VS 2010(新安装(两次)SP1Rel)启动调试使0x800703e9与启动正常运行

C# VS 2010(新安装(两次)SP1Rel)启动调试使0x800703e9与启动正常运行,c#,visual-studio-2010,debugging,C#,Visual Studio 2010,Debugging,我说的是最简单的例子——见下文——显然有些东西被破坏了。以下是完整的错误文本: 新发现!!!启动Visual Studio 2008——多年来一直使用C++,从这个Test5.CCS中建立了一个新的解决方案,猜猜看什么?当开始调试时——完全相同的错误!!!另外,我在C++中构建了几种类型的微小测试程序,包括CLR控制台应用程序…通过“启动调试”,这些都能正常工作 救命啊 线程“vshost.NotifyLoad”(0x14b0)已退出,代码为0(0x0)。线程“vshost.LoadRefe

我说的是最简单的例子——见下文——显然有些东西被破坏了。以下是完整的错误文本:

新发现!!!启动Visual Studio 2008——多年来一直使用C++,从这个Test5.CCS中建立了一个新的解决方案,猜猜看什么?当开始调试时——完全相同的错误!!!另外,我在C++中构建了几种类型的微小测试程序,包括CLR控制台应用程序…通过“启动调试”,这些都能正常工作

救命啊




线程“vshost.NotifyLoad”(0x14b0)已退出,代码为0(0x0)。线程“vshost.LoadReference”(0x328c)已退出,代码为0(0x0)。”test5.vshost.exe'(托管(v2.0.50727)):加载了“C:\projects\test5\test5\bin\Debug\test5.exe”,加载了符号。忽略来自未知线程的托管异常。程序“[12684]test5.vshost.exe:managed(v2.0.50727)”已退出,代码为-2147023895(0x800703e9)。该错误代码是堆栈溢出异常。因为它只在调试时发生,所以您是否设置了NT\u符号\u路径?也许它指向一些损坏的PDB?您应该发布启用非托管调试后获得的跟踪。尽管如此,这仍然是一个严重的环境问题,就像是病毒扫描器,或者是天知道是什么将代码注入到您的进程中。您需要重新稳定您的计算机。我添加了跟踪/输出,以便在它与选中的[x]配合使用时进行非托管调试。。。。。我已经完成了两次完整的安装,我在这里要求,因为我需要能够调试,但不能--这台机器是稳定的,没有其他问题的迹象。。。。对于NT_符号_路径,未设置???这个问题的答案能解决你的问题吗?它们听起来很相似。。。
    <small><small>'test5.vshost.exe' (Managed (v2.0.50727)): Loaded
'C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'<br>
          'test5.vshost.exe' (Managed (v2.0.50727)): Loaded
'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll'<br>
          'test5.vshost.exe' (Managed (v2.0.50727)): Loaded
'C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'<br>
          'test5.vshost.exe' (Managed (v2.0.50727)): Loaded
'C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll'<br>
          'test5.vshost.exe' (Managed (v2.0.50727)): Loaded
'C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'<br>
          'test5.vshost.exe' (Managed (v2.0.50727)): Loaded
'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll'<br>
          'test5.vshost.exe' (Managed (v2.0.50727)): Loaded
'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll'<br>
          'test5.vshost.exe' (Managed (v2.0.50727)): Loaded
          'C:\projects\test5\test5\test5\bin\Debug\test5.vshost.exe'<br>
          The thread 'vshost.NotifyLoad' (0x3518) has exited with code 0
          (0x0).<br>
          The thread 'vshost.LoadReference' (0x36a8) has exited with
          code 0 (0x0).<br>
          'test5.vshost.exe' (Managed (v2.0.50727)): Loaded
          'C:\projects\test5\test5\test5\bin\Debug\test5.exe', Symbols
          loaded.<br>
          Ignoring managed exception from unknown thread.The program
          '[6748] test5.vshost.exe: Managed (v2.0.50727)' has exited
          with code -2147023895 (0x800703e9).</small></small>
using System;


namespace test5
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = 0;

            while (true)
            {

                System.Console.WriteLine("Hello, World! {0} ", x );

                ++x;
            }
        }
    }
}
'test5.exe': Loaded 'C:\projects\test5\test5\test5\bin\Debug\test5.exe', No native symbols in symbol file.
'test5.exe': Loaded 'C:\Windows\System32\ntdll.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\System32\mscoree.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\System32\kernel32.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\System32\advapi32.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\System32\rpcrt4.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\System32\shlwapi.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\System32\gdi32.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\System32\user32.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\System32\msvcrt.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\System32\imm32.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\System32\msctf.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\System32\lpk.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\System32\usp10.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Program Files\Google\Google Desktop Search\GoogleDesktopNetwork3.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\System32\ws2_32.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\System32\nsi.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18000_none_5cdbaa5a083979cc\comctl32.dll', Cannot find or open the PDB file
'test5.exe': Unloaded 'C:\Program Files\Google\Google Desktop Search\GoogleDesktopNetwork3.dll'
'test5.exe': Unloaded 'C:\Windows\System32\ws2_32.dll'
'test5.exe': Unloaded 'C:\Windows\System32\nsi.dll'
The thread 'Win32 Thread' (0x1998) has exited with code 0 (0x0).
'test5.exe': Loaded 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a\msvcr80.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\System32\shell32.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\System32\ole32.dll', Cannot find or open the PDB file
'test5.exe': Loaded 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\Culture.dll', Cannot find or open the PDB file
'test5.exe': Unloaded 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\Culture.dll'
'test5.exe': Loaded 'C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\c068708e16abf0be77a21b9f29817d83\mscorlib.ni.dll', Cannot find or open the PDB file
'test5.exe' (Managed (v2.0.50727)): Loaded 'C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'
'test5.exe' (Managed (v2.0.50727)): Loaded 'C:\projects\test5\test5\test5\bin\Debug\test5.exe', Symbols loaded.
'test5.exe': Loaded 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorjit.dll', Cannot find or open the PDB file