日期:2014-05-18  浏览次数:20927 次

C#开发,软件运行着会直接关闭……偶尔会提示软件崩溃,但是按调试什么痕迹都没留下……
很多情况都直接关闭掉了,我擦……
但是偶尔会提示出错。但是软件还能正常运行(过一会就崩了)

提示出错的话,按调试,VS无法追踪任何代码。只在输出窗口提示了以下信息:

我都快要疯了,各位前辈救命……




VS的输出窗口提示的信息如下:

“UI.exe”: 已加载“D:\Src\Debug\UI.exe”,符号文件中不存在本机符号。
“UI.exe”: 已加载“C:\WINDOWS\system32\ntdll.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\mscoree.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\kernel32.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\advapi32.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\rpcrt4.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\secur32.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\shlwapi.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\gdi32.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\user32.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\msvcrt.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\imm32.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\lpk.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\usp10.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\clr.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\msvcr100_clr0400.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\mscorlib\cece9d0256e18427b64587ba690605d4\mscorlib.ni.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\ole32.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\MSCTF.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Culture.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\nlssorting.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\clrjit.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System\7169c473071af03077b1cd2a9c1dbcbe\System.ni.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System.Drawing\cad0df97be252ddb80a846b61f26a4dd\System.Drawing.ni.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\039d68cb3f0e971d7d44a92dc6a259bf\System.Windows.Forms.ni.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\xpsp2res.dll”,未使用调试信息生成二进制文件。
“UI.exe”: 已加载“C:\WINDOWS\system32\uxtheme.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System.Core\4a9f25bff4bb74c9b6a21091923307d2\System.Core.ni.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System.Data\3160e392f776532556cccae8fd9e7fd6\System.Data.ni.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\Microsoft.NET\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\ws2_32.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\ws2help.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\crypt32.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\system32\msasn1.dll”,Cannot find or open the PDB file
“UI.exe”: 已加载“C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System.Xml\282e409391657633e44fd8c290240446\System.Xml.ni.dll”,Cannot find or open the PDB file
“UI.exe”: 已加