Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

stop eclipse CDT from debugging from main

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

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

like image 219
kamikaze_pilot Avatar asked Apr 24 '11 01:04

kamikaze_pilot


1 Answers

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.

like image 193
Moshe Bixenshpaner Avatar answered Sep 22 '22 12:09

Moshe Bixenshpaner