Well, if you want a full blown IDE then I would suggest Code::Blocks. You can configure it to use gdb as the debugger and thus "make it easier to debug errors".