【Launch Performance Wizard】Source code not available. you may not have the appropriate symbol paths or there was an error loading the symbols.

环境:

Windows 7 Enterprise SP1

Visual Studio 2010 Ultimate SP1 

操作及结果:

Analyze=> Launch Performance Wizard

点击对应function name, function code view显示:Source code not available. you may not have the appropriate symbol paths or there was an error loading the symbols.

 原因及解决办法:

  不正确的symbol设置,应添加 debugger symbols的位置。

  1. Tools menu=> Options => Debugging=> click Symbols.
  1. Verify that Symbol file (.pdb) locations lists all the locations for your symbols. Add locations as necessary.
  2. In Cache symbols from symbol servers to this directory, add the Microsoft Symbol Server location, if necessary: http://msdl.microsoft.com/download/symbols.
  3. Click OK.
  4. Re-analyze the file to see whether the fix worked.
原文地址:https://www.cnblogs.com/stevenawake/p/2716265.html