stop eclipse CDT from debugging from main

痴心易碎 提交于 2020-01-12 13:53:10

问题


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:


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.



来源:https://stackoverflow.com/questions/5768057/stop-eclipse-cdt-from-debugging-from-main

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!