stop eclipse CDT from debugging from main

2019-04-04 04:28发布

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()...

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

1条回答
不美不萌又怎样
2楼-- · 2019-04-04 05:06

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.

查看更多
登录 后发表回答