When I run as debug, the CDT says error creating session, then launching failed.
This is araised from missing of gdb. For best integration, I download MinGW gdb binary from MinGW’s download repository.
Then install it to MinGW’s same location. It works.
Nov 29 2007: MinGW GDB debugger is bad; I have suffered various problems in debugging.