停止eclipse CDT从主调试 [英] stop eclipse CDT from debugging from main

查看:142
本文介绍了停止eclipse CDT从主调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以如果我使用eclipse CDT调试我的C ++代码,似乎总是从main()函数启动调试过程,即使在main()...开始没有断点...

so if I debug my C++ code using eclipse CDT, it appears that it always start the debugging process from the main() function even though there is no breakpoint at the beginning main()...

有没有办法让eclipse CDT从第一个断点而不是main()开始调试?

is there a way to have eclipse CDT start to debug from the first breakpoint rather than main()?

推荐答案

在菜单运行 - >调试配置上,右键单击左侧的 C / C ++应用程序项目,然后创建新建组态。转到调试器选项卡,取消选中启动时停止复选框。

On the menu Run -> Debug Configurations, right click the C/C++ Applications item on the left, and create New configuration. Go to the Debugger tab and uncheck the Stop on startup at checkbox.

这篇关于停止eclipse CDT从主调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆