For those who do not want to use Eclipse for your Nios2 debugging needs and prefer a debugger you can launch from the command line, Insight may be a good solution. Insight 6.1 was inluded in all the Nios2 release the were based upon the gnu 3.xx version. In 10.1 Altera switch to a later release 4.1.2. By default GNU 4.xx does not include Insight. However insight 6.8 can be downloaded from the web patched and build for the nios. The instruction below show you how to do it.
The GNU Insight build does not work with 3.81 of the make tool. It will die when compiling bfd/dwarf2.c. This is due to a parameter which must be quoted. Versions 3.80 and 3.82 work. To see which version you have type
in a Nios2 command shell. If the version is 3.81 it is probably the make in the nios2eds path. To check type
There are 2 make.exe in the quartus installs One in $SOPC_KIT_NIOS2/bin/gnu/H-i686-mingw32/bin/make and $QUARTUS_ROOT_DIR/bin/cygwin/bin. The default path uses the make.exe from the nios2eds path ahead of of the cygwin path. To use the other make.exe simply rename the make.exe in the offending path -- but don't forget to change it back. Or you can change the paths temporarily. With the correct make.exe you are read to build.
ES: I was not successful with this and I just had to call /usr/bin/make to force the correct version.
ES: Note: I am no longer able to compile insight on Quartus 12.1. It appears that some of the cygwin components may have upgrades and the tcl support is no longer building.
Create a new directory i.e. "Insight" and download the source to it.
Note: any directory name will be fine just avoid spaces and special chars in the path name