Or run a debug version of the executable in GNU gdb or Microsoft's debugger (CDB?) depending on how you build. No IDE required, but no nice GUI buttons to drive it either.