Dev C++ 调试问题

在dev c++ 环境中,写程序的时候,写了一个类,但是有点问题,想调试一下,但是调试的时候,老出现这个问题

your project does not have debugging info, do you want to enable debugging and rebuild your project?

在网上搜了一下解决方法

在 tools --> compiler options --> compiler, 有一个选项是:

Add these commands to the linker command line

将此选项勾选,并将内容 添加为 -g3 -gstabs


点击ok,重新编译,调试就可以了

你可能感兴趣的:(C++,c,C#)