From the Debugger loaded the executable and setup the breakpoint. Finally hit run.
Error:Error Starting Terminal:failed to start child process "xterm"(No such file or directory)

OK, I installed xterm but now it said GDB: Failed to set controlling terminal:operation not permitted.ShiftPlusOne wrote:sudo apt-get install xterm