码迷,mamicode.com
首页 > 其他好文 > 详细

使用vs的时候,遇到这个:当前不会命中断点 还没有为该文档加载任何符号

时间:2014-12-05 12:07:40      阅读:154      评论:0      收藏:0      [点我收藏+]

标签:http   io   ar   使用   sp   for   on   文件   art   

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 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文件。

清理解决方案的时候,有可能没有清理干净。

 

使用vs的时候,遇到这个:当前不会命中断点 还没有为该文档加载任何符号

标签:http   io   ar   使用   sp   for   on   文件   art   

原文地址:http://www.cnblogs.com/chucklu/p/4146092.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!