dev c++调试问题

ziyaziya 2009-08-20 10:57:59
我的DEV C++版本是4.9.9.2

建立工程,编写源代码,编译通过,但不能调试,“your project does not have debugging information,do you want to enable debugging and rebuild your project?”

进行设置:tools -> compiler options -> setting -> linker -> generate debugging information

点击“调试”,仍然出现上面的问题,并且在debug对话框中,还出现“you need to put debugging mode before debugging”,请问是这是什么问题?怎么解决?
...全文
77 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
BEN36 2011-07-27
  • 打赏
  • 举报
回复
Linker 和 compiler.

[Quote=引用 2 楼 ben36 的回复:]

打开tools> compiler options
把下列参数加到linker的command line:
-g3 -Wl,--enable-auto-import

其中-g3即是开启debug info的选项
[/Quote]
BEN36 2011-07-27
  • 打赏
  • 举报
回复
打开tools> compiler options
把下列参数加到linker的command line:
-g3 -Wl,--enable-auto-import

其中-g3即是开启debug info的选项
taodm 2009-08-20
  • 打赏
  • 举报
回复
请更新到wxdevcpp版本。另外,去cygwin网站下载gdb的gui版本insight.

69,382

社区成员

发帖
与我相关
我的任务
社区描述
C语言相关问题讨论
社区管理员
  • C语言
  • 花神庙码农
  • 架构师李肯
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧