there is no source code available for the current location 解决方法
2014-11-01 09:29
495 查看
声明: 以下文章转自:咆哮的狼,
原文:http://blog.csdn.net/lsg32/article/details/7830771
我今天在vs2008下调我那个平台程序,发现了一个很搞的问题,以前也遇到过这样的问题,不记得上次是怎么解决的了。
这次只能google了。有一个人事如下回答的:
Erase all the .pdb files that you have in your debug folders.
It will work then.
我也不知道为什么要这么做,我按照我通常的方法是:
将所以debug文件夹和release文件夹全删掉(其实与release无关)就OK了。奇怪。
还依稀记得以前如果好久没有调试以前的一个vs程序了,偶尔某天再跑下程序如果编译有错误的话我也是像上面这么做的。把它们全删掉。
还有如果debug编译正确,release编译错误,有时候我也是这么全删掉,囫囵吞枣的做法吧,还没有理解其本质原因,下次有时间再仔细调查下原因。
如果有谁知道本质的话,那就告诉俺下吧~
Hi,
Did you get "There is no source code available for the current location" error message when you try to insert breakpoint?
This error message means that Visual Studio debugger cannot locate the source file for current location.
You can try the following ways:
<div>Disable debugger to look for source files when debugging (Tools -> Options -> Debugging -> uncheck "Require source files to exactly match the original version"). </div>
<div>Add the location of this page's source code to "Debug Source Files". (Right-click Solution name in Solution Explorer and select Properties from
the shortcut menu. Expand the Common Properties folder, and click the Debug
Source Files page)</div>
For more information about debugging, see http://blogs.msdn.com/jimgries/pages/visual-studio-debugger-faq.aspx (Section:
Breakpoints ).
I hope this helps.
原文:http://blog.csdn.net/lsg32/article/details/7830771
我今天在vs2008下调我那个平台程序,发现了一个很搞的问题,以前也遇到过这样的问题,不记得上次是怎么解决的了。
这次只能google了。有一个人事如下回答的:
Erase all the .pdb files that you have in your debug folders.
It will work then.
我也不知道为什么要这么做,我按照我通常的方法是:
将所以debug文件夹和release文件夹全删掉(其实与release无关)就OK了。奇怪。
还依稀记得以前如果好久没有调试以前的一个vs程序了,偶尔某天再跑下程序如果编译有错误的话我也是像上面这么做的。把它们全删掉。
还有如果debug编译正确,release编译错误,有时候我也是这么全删掉,囫囵吞枣的做法吧,还没有理解其本质原因,下次有时间再仔细调查下原因。
如果有谁知道本质的话,那就告诉俺下吧~
Hi,
Did you get "There is no source code available for the current location" error message when you try to insert breakpoint?
This error message means that Visual Studio debugger cannot locate the source file for current location.
You can try the following ways:
<div>Disable debugger to look for source files when debugging (Tools -> Options -> Debugging -> uncheck "Require source files to exactly match the original version"). </div>
<div>Add the location of this page's source code to "Debug Source Files". (Right-click Solution name in Solution Explorer and select Properties from
the shortcut menu. Expand the Common Properties folder, and click the Debug
Source Files page)</div>
For more information about debugging, see http://blogs.msdn.com/jimgries/pages/visual-studio-debugger-faq.aspx (Section:
Breakpoints ).
I hope this helps.
相关文章推荐
- there is no source code available for the current location的解决方法
- there is no source code available for the current location的解决方法
- there is no source code available for the current location的解决方法
- there is no source code available for the current location的解决方法
- there is no source code available for the current location
- there is no source code available for the current location 解决方案
- There is no source code available for the current location.
- There is no source code available for the current location
- there is no source code available for the current location
- 关于there is no cource code available for the current的解决方法
- C#调试含有源代码的动态链接库遇见there is no source code available for the current location提示时的解决方案
- there is no source code available for the current location 解决方案
- there is no source code available for the current location 解决方案
- There is no source code available for the current location
- There is No Source Code Available for the Current Location
- There is no source code available for the current location.
- There is no source code available for current location
- There is no Citrix MetaFrame server configured on the specified address错误的解决方法
- 解决The current branch is not configured for pull No value for key branch.master.merge found in config
- There is no Citrix MetaFrame server configured on the specified address错误的解决方法