问题
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