ReSharper PdbNavigator 在符号服务器上找不到调试信息 [英] ReSharper PdbNavigator No debugging information found on symbol servers
问题描述
我们设置了 TeamCity 来为内部组件创建 NuGet 包和符号源包.符号源包正确包含 dll、pdb 和源代码.
We have TeamCity setup to create a NuGet package and a symbol source package for an internal component. The symbol source packages correctly contains the dll's, pdb's and source code.
一旦 TeamCity 创建了包,它们就会发布到我们的 NuGet/SymbolSource 服务器.
Once TeamCity has created the packages, they are published to our NuGet / SymbolSource server.
在 ReSharper 中,我已将外部来源"配置为导航至来源".NuGet 包已添加到项目中,但在导航到源时,ReSharper 输出显示以下错误:
In ReSharper I have configured 'External Sources' to be 'Navigation to Sources'. The NuGet package has been added to a project, but when navigating to sources, the ReSharper output shows this error:
PdbNavigator:下载器:http://symbolserver/SymbolSource/WinDbg/pdb
::MyLib.dll::3A9F94B78ED243228DC8CB98D71483D615-> 好的(缓存)PdbNavigator:在 MyLib 的符号服务器上找不到调试信息,版本 = 3.2.5123.12213,文化 = 中性,PublicKeyToken=3111e51d1da2afdf
PdbNavigator: Downloader:
http://symbolserver/SymbolSource/WinDbg/pdb
::MyLib.dll::3A9F94B78ED243228DC8CB98D71483D615 -> Ok (cached) PdbNavigator: No debugging information found on symbol servers for MyLib, Version=3.2.5123.12213, Culture=neutral, PublicKeyToken=3111e51d1da2afdf
PDB 正在成功下拉,但 ReSharper 无法进入源代码.附加调试器后,源文件可以正确进入,因此我认为这是 ReSharper 配置问题.如何让导航到 > 符号文件中的源"在 ReSharper 中工作?
The PDB is being successfully pulled down, but ReSharper is unable to step into the sources. When a debugger is attached, source files can be correctly stepped into so I assume this is a ReSharper configuration issue. How can I get 'Navigate to > Sources from symbol files' to work in ReSharper?
更新:http://youtrack.jetbrains.com/issue/RSRP-405000
推荐答案
ReSharper 8 中存在一个错误,该错误可能导致它下载 pdb,但未对其进行处理,因此它看不到符号等'不导航到源.这主要体现在新项目中(或者至少,重新创建它的最简单方法是使用新项目).关闭并重新打开解决方案使用会导致导航成功,因为 ReSharper 现在知道 pdb 文件,可以找到符号并加载源.
There is a bug in ReSharper 8 that can cause it to download the pdb, but then not process it, so it doesn't see the symbols and so can't navigate to the source. This mostly manifests in a new project (or at least, the easiest way to recreate it is with a new project). Closing and reopening the solution uses causes the navigation to succeed, because ReSharper now knows about the pdb file, can find the symbols and load the source.
错误详情如下:http://youtrack.jetbrains.com/issue/RSRP-406276.它刚刚得到修复,将包含在下一个 8.2 EAP 中,并将成为 8.2 版本的一部分.
Here's the bug details: http://youtrack.jetbrains.com/issue/RSRP-406276. It's just been fixed and will be included in the next 8.2 EAP and will be part of the 8.2 release.
这篇关于ReSharper PdbNavigator 在符号服务器上找不到调试信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!