简体   繁体   English

VS2010 Profiler无法找到符号

[英]VS2010 Profiler Cannot Locate Symbols

I have a C# console project that references a C# class library project in the same solution. 我有一个C#控制台项目,它在同一个解决方案中引用了一个C#类库项目。 When using the VS2010 Profiler (launched with ALT-F2), I can see timing for methods in both the console project and class library project, but the source code for the class library project is unavailable. 使用VS2010 Profiler(使用ALT-F2启动)时,我可以看到控制台项目和类库项目中方法的时间安排,但类库项目的源代码不可用。 Instead, I receive the error message: 相反,我收到错误消息:

"Source code not available. You may not have the appropriate symbol paths." “源代码不可用。您可能没有合适的符号路径。”

It looks like symbols for the class library project were loaded: 看起来像加载了类库项目的符号:

Loaded symbols for C:\...\MyApp\MyAppConsole\bin\Debug\MyAppConsoleApp.exe.
Loaded symbols for C:\...\MyApp\MyAppConsole\bin\Debug\MyAppClassLib.dll.

Also, Tools / Options / Debugger / Symbols says it's configured to automatically load symbols for all modules except excluded, and the excluded list is empty. 此外,Tools / Options / Debugger / Symbols表示它被配置为自动加载除排除之外的所有模块的符号,并且排除列表为空。

What else can I check or do to resolve this? 我还可以检查或做些什么来解决这个问题?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM