使用vs的时候,遇到这个:当前不会命中断点 还没有为该文档加载任何符号
2014-12-05 10:28
183 查看
http://stackoverflow.com/questions/2155930/fixing-the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-fo
unable to hit the breakpoint
Start debugging, as soon as you've arrived at a breakpoint or used
In normal projects, the assembly and its .pdb file should always have been copied by the IDE into the same folder as your .exe. The bin\Debug folder of your project. Make sure you remove one from the GAC if you've been playing with it.
需要去确认下项目的生成路径,清空路径下的pdb文件。
清理解决方案的时候,有可能没有清理干净。
unable to hit the breakpoint
Start debugging, as soon as you've arrived at a breakpoint or used
Debug > Break All, use
Debug > Windows > Modules. You'll see a list of all the assemblies that are loaded into the process. Locate the one you want to get debug info for. Right-click it and select Symbol Load Information. You'll get a dialog that lists all the directories where it looked for the .pdb file for the assembly. Verify that list against the actual .pdb location. Make sure it doesn't find an old one.
In normal projects, the assembly and its .pdb file should always have been copied by the IDE into the same folder as your .exe. The bin\Debug folder of your project. Make sure you remove one from the GAC if you've been playing with it.
需要去确认下项目的生成路径,清空路径下的pdb文件。
清理解决方案的时候,有可能没有清理干净。
相关文章推荐
- VS2005下使用VC,部分断点无效,显示『当前不会命中断点。还没有为该文档加载任何符号』。
- VS2015 C# 当前不会命中断点 还没有为该文档加载任何符号
- dhl:VS2008+IE8+.NET3.5SP1出现"当前不会命中断点,还没有为该文档加载任何符号"错误的
- VS2015 当前不会命中断点,还没有为该文档加载任何符号
- vs当前不会命中断点,还没有为该文档加载任何符号
- VS2005下使用VC,部分断点无效,显示『当前不会命中断点。还没有为该文档加载任何符号』
- VS2013 当前不会命中断点. 还没有为该文档加载任何符号
- VS2013 MFC工程 调试DLL出现: 当前不会命中断点,还没有为该文档加载任何符号
- VS2015 C#调试C++ dll时提示:“当前不会命中断点,因为还没有为该文档加载任何符号”解决方法From Eric Qu
- vs调试dll 当前不会命中断点 还没有为该文档加载任何符号
- vs2015关于“当前不会命中断点 还没有为该文档加载任何符号”的解决方法
- vs2013关于“当前不会命中断点 还没有为该文档加载任何符号”的解决方法
- VS当前不会命中断点 还没有为该文档加载任何符号
- vs2015“当前不会命中断点 还没有为该文档加载任何符号”的解决方法
- VS2013 当前不会命中断点,还没有为该文档加载任何符号
- MATLAB和VS混合编程,调试C程序设置的断点显示“当前不会命中断点 还没有为该文档加载任何符号”
- 当前不会命中断点 还没有为该文档加载任何符号
- [转]当前不会命中断点 还没有为该文档加载任何符号
- VS2008 当前不会命中断点,还没有为该文档加载任何符号