Possible Duplicate:
How to stop GDB from executing “break main” by default in Eclipse?
I decided to learn C++ (because Java isn’t as good at certain things) so I wrote a (VERY) simple program.
#include <iostream>
using namespace std;
int main() {
cout << "This is a test" << endl;
int test = 100;
cout << test << endl;
return 0;
}
It worked as expected, but Eclipse seems to be adding an automatic breakpoint at the main method:

How can I stop this automatic breakpoint insertion?
There’s an option in the debug configuration that allows you to Stop on startup at (or simillar), which is enabled by default. Disable it.