无法导航到插入符号下的符号 [英] Cannot navigate to the symbol under the caret

查看:338
本文介绍了无法导航到插入符号下的符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否在VS2015社区版中遇到此问题,有人知道它的解决方法吗?

keep having this issue with VS2015 community edition anyone know the fix for it?

推荐答案

mishari82,

Hi mishari82,

根据错误消息,当您按F12键导航到函数定义时会发生此问题,对吗?

According to the error message, this issue occurs when you press  F12 to navigate to an function define, is it right?

请检查此问题是否出现在您项目中的功能之一或所有功能上.

Please check whether this issue occurs on one of the function or all functions in your project.

如果它发生在某个特定功能上,恐怕是因为该功能缺少符号文件.请检查您的计算机上是否存在包含此功能的程序集的.pdb文件.如果没有,请在您的计算机上添加.pdb文件. 机器.

If it occurs on one specific function, I'm afraid that this is because the symbol file missing for this function. Please check whether the .pdb file exist on your machine for the assembly that contains this function. If not, please add the .pdb file on your machine.

如果文件存在,请在此代码行上添加一个断点,然后按F5键开始调试它.遇到断点时,请从调试"菜单中打开模块"窗口-> Windows->单击模块",然后选择您无法导航的程序集,右键单击 选择加载符号".

If the file exist, please add a breakpoint on this line of code and press F5 start debugging it. When the breakpoint hit, please open the Modules window from Debug menu -> Windows -> Modules and choose the assembly that you could not navigate, right-click it to choose "Load Symbols".

如果所有功能均出现问题,建议您清理解决方案并重建它,以检查是否可以解决此问题.并且还请从工具>中清除符号缓存.选项>调试>符号> EmptySymbolCache.

If the problem occurs on all function, I suggest you clean your solution and rebuild it to check whether it could be fixed this issue. And please also clear Symbol caches from Tools > Options > Debugging > Symbols > EmptySymbolCache.

最好的问候,
Weiwei

Best Regards,
Weiwei


这篇关于无法导航到插入符号下的符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆