ECLIPSE调试C++出错的解决方法
来源:互联网 发布:2015网络流行语排行榜 编辑:程序博客网 时间:2024/05/14 13:41
出错提示:Can't find a source file at "xxxxx“Locate the file or edit the source lookup path to include its location.
解决:来自ECLIPSE的WIKI:
http://wiki.eclipse.org/CDT/User/FAQ#Debugging_C.2FC.2B.2B_Projects
DETAIL:
I'm using cygwin and when launching the debugger, it complains that it can't find the source file
You must provide a mapping from /cygdrive/c to c:/ (or whatever your drive letter is).
To do this,
- From the editor error page, select the "Edit Source Lookup Path..." button and select the "Add..." button
- Or, in the eclipse IDE, go to menu Window -> Preferences -> C/C++ -> Debug-> Common Source Lookup Path -> Add.
- From the list of lookup containers, choose Path Mapping and OK. You get a New Mapping in the list.
- Select the mapping and then Edit. In the Modify the path mappings dialog, select Add, and then enter:
- /cygdrive/c as the compilation path and
- c:/ as the local file system path.
- Select OK, OK, OK to finish the dialogs.
- Terminate the debug session and restart; it should find your source files now.
This setting will apply to any debug sessions launched from this workspace.
You can also modify the settings in each individual launch configuration.
- ECLIPSE调试C++出错的解决方法
- eclipse Mars汉化后出错的解决方法
- linux下运行eclipse出错的解决方法
- Eclipse出错解决方法积累
- C#常见的调试时报出错的解决方法
- 调试ASP.NET出错解决方法
- iOS App Archive 版本出错的问题 调试和解决方法
- Eclipse Perl插件无法调试的解决方法
- 使用Eclipse调试Launcher的完美解决方法
- Eclipse不能调试手机的解决方法
- Eclipse生成JavaDoc出错解决方法
- eclipse-jee-galileo-win32打开出错的解决方法
- Eclipse 内部启动 Tomcat,浏览器访问出错的解决方法
- eclipse项目出错却没有提示的解决方法
- Eclipse所有项目都红叉出错的其中一个解决方法
- 调试eclipse出错的问题,class文件不能编译
- ECLIPSE python调试断点有一斜框,无法调试的解决方法
- C-Free 无法使用调试的解决方法
- Hibernate如何映射enum(JDK5.0中的枚举类) 方法二
- SCA编程模式三种方式的异步调用
- 抛砖引玉 教你如何成为一名Java初级程序员
- 置换算法
- 小型软件公司该选什么语言开发软件
- ECLIPSE调试C++出错的解决方法
- 缩写
- linux文件描述符
- 转---JDK1.6官方下载_JDK6官方下载_JDK1.6API(chm)下载_JDK6APICHM中文参
- 关于WTL学习的一些心得
- 详解Java语言入门级十二大特色
- C++ Builder 下的Release版程序编译项设置
- 谷歌软件工程师刘黎:十行内代码嵌入Google地图
- 读取进程信息