我的项目大多数时间都在运行,好几次出现问题,所以我知道一些修复步骤,但仍然无法修复。
现在我大约两个星期都没有构建项目,现在我无法调试它。 或连接到iisexpress之类的东西。
这是我已经尝试过的:
构建没有错误,但是有很多找不到或打开PDB文件消息。 如果我按ctrl + f5
,则项目运行编辑: 我可以看到一些奇怪的东西,现在它在几次重新加载或前进和后退后都加载了我的页面。似乎响应时间太长,但是如果我在VS中进行诊断,则需要12MB的RAM和0%的CPU。
有人遇到过类似的事情吗?
编辑2: 当我检查Microsoft Symbols Server时,我运行了一次,但是当我停止运行时,它不会再次启动,我真的不知道该怎么办。
输出窗口:
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\iisexpress.exe'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\AVAST Software\Avast\x64\aswhooka.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\apphelp.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\AcLayers.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\sfc.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Unloaded 'C:\Windows\System32\sfc.dll'
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\winspool.drv'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\propsys.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\IPHLPAPI.DLL'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\sfc.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\sfc_os.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\fltLib.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\rtinfo.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\iisexpresshelper.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\iisutil2.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\nativrd2.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\xmllite.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\ktmw32.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\dpapi.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\iisres.dll'. Module was built without symbols.
'iisexpress.exe' (Win32): Unloaded 'C:\Program Files\IIS Express\iisres.dll'
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\iisres.dll'. Module was built without symbols.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\cryptsp.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\rsaenh.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\clbcatq.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\mlang.dll'. Cannot find or open the PDB file.
The thread 0x10e0 has exited with code 0 (0x0).
The thread 0xc28 has exited with code 0 (0x0).
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\hwebcore.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\w3wphost.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\mscoree.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\msvcr120_clr0400.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\iiscore.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\normaliz.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\w3tp.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\w3dt.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\secur32.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\httpapi.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\sspicli.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\mswsock.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\dnsapi.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\nsi.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\rasadhlp.dll'. Cannot find or open the PDB file.
The thread 0xdf0 has exited with code 0 (0x0).
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\FWPUCLNT.DLL'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\loghttp.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\cachuri.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\cachtokn.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\compdyn.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\compstat.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\defdoc.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\dirlist.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\protsup.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\redirect.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\iis_ssi.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\static.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\authanon.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\authcert.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\urlauthz.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\authbas.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\authsspi.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\netapi32.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\netutils.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\wkscli.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\authmap.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\iprestr.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\diprestr.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\modrqflt.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\logcust.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\custerr.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\iisfreb.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\iisreqs.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\wsock32.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\isapi.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\filter.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\cgi.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\iisfcgi.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\rewrite.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\validcfg.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\iiswsock.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\webmatrixsup.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\webengine4.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\psapi.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\userenv.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\warmup.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Program Files\IIS Express\aspnetcore.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\winhttp.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Loaded 'C:\Windows\System32\OnDemandConnRouteHelper.dll'. Cannot find or open the PDB file.
'iisexpress.exe' (Win32): Unloaded 'C:\Windows\System32\OnDemandConnRouteHelper.dll'
答案 0 :(得分:0)
在Visual Studio中转到“工具”->“选项”->“调试”->“ Symbols”,然后选择“ Microsoft Symbol”服务器,它将尝试为您下载正确的pdb文件。您也可以从“调试模块”窗口中手动加载它。
参考:
在“项目属性”->“ Web”中取消选中“本机调试”,然后在此处检查ASP.NET调试器。