📅 2014-Jul-15 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ debugger, eclipse ⬩ 📚 Archive
Eclipse with CDT can be used to compile and debug C++ code. Whenever the debugger is started it first stops at the main function of your program. If you would like the debugger to continue on until it hits a breakpoint or runs into an exception, this feature can be turned off.
Click the down arrow beside the Debug button (the bug) and choose Debug Configurations. In the left side of the dialog, choose the debug configuration you want to modify. Choose the Debugger pane on the right side and disable the option Stop on startup at main.
Go to Window > Preferences > C++ > Debug > GDB. Disable the option Stop on startup at main.
Reference: Eclipse CDT FAQ
Tried with: Eclipse 3.8.1 and Ubuntu 14.04