Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse cdt/gdb automatic breakpoint on program entry - how to disable?

I am using eclipse cdt to develop a c++ program. One thing that drives me crazy is that either eclipse cdt or gdb which it uses for debugging break automatically on main method entry. I don't want to break there!

Before I had some problems and had to recreate my project from scratch, I managed to disable this feature (I think) but for the life of me I cannot find it now! Problems seems to be the eight million different places where debug settings can be found in eclipse.

Does anyone know how to disable this?

like image 398
Max Avatar asked Feb 04 '11 09:02

Max


1 Answers

Go to Run / Debug Configurations / Debugger / Stop on startup at: [main]

like image 186
slick911 Avatar answered Sep 30 '22 18:09

slick911