I'm writing small command line programs that for instance numerically solve systems of differential equations. The programs are so simple, that I think it would be an overkill to use a development environment like MS Visual Studio or Anjunta. I'm progamming on a Linux computer, and I use Gedit to edit the source files and g++ to compile. Gedit nicely highlights C++ code and g++ tells me what lines contains errors, however, finding runtime errors in the code is a bit more tedious. Usually I have to insert
cout << "Still works here"; in the code at several points and see if it prints. I remember from MSVS that it showed the place in the code were it went wrong with a big arrow. Quite handy. Do you know any program that does this on Linux computers?