Tools for testing, analyzing, detecting errors(debugging), and improving performance of codes
To add any of the paths mentioned below to an environment variable
Read this How-to
Instructions for Use
Compile code with the -g option to use a debugging program.
For use with dbx90 use the -g90 option to compile code.
Programs are then run with the executable as the argument:
eg: dbx a.out
dbx(Unix), gdb (GNU) are command-line debuggers and
are the basis for the other debuggers with GUI (graphic) interfaces.
Debuggers installed on the Suns
dbx located in /opt/SUNWspro/bin
gdb located in /usr/local/bin
ddd located in /usr/local/bin
Forte Tools - Sun Visual WorkShop located in /opt/SUNWspro/bin
make sure /opt/SUNWspro/bin is in your path
type: workshop
dbx90
located in /opt/NAG/npsol10ng/bin (v2.1(26) with the NAGWare F95/F90 SunPro compiler)
dbx90
located in /opt/NAG/npsol10ng/bin (v2.0(139) with the NAGWare F95/F90 Gnu compiler)
Debuggers installed on the SGIs
dbx located in /usr/bin
gdb located in /usr/freeware/bin
cvd and SGI ProDev CaseVision/Workshop tools
located in /usr/sbin
cvd is the debugger
All other WorkShop tools can be accessed from cvd
or individually.
cvd WorkShop Debugger
cvbuild WorkShop Build Analyzer, program inter-dependencies analyzer
cvpav Parallel Programming Analyzer
cvperf Program Performance Analyzer
cvstatic Source code Static Analyzer
cvxcov Tester
cvconfig Configuration Manager tool, Version Control tool
dbx90
located in /opt/NAG/npsg610na/bin (with the F90/F95 SGI compiler)
Simple Debuggers
dbx and gdb are both command line debuggers that can be used
to find mistakes in both fortran or C/C++ codes.
ddd, or the digital display debugger, is a graphical interface
that can use either gdb or dbx (gdb is the default).
dbx90(NAG) is a command-line debugger to be used with NAG's
f90 & f95 compilers.
Sophisticated Debugging and Program analysis tools
Sun's workshop and SGI's cvd are CaseVision tools.
These are sophisticated tools for program development which
include debuggers (default based on dbx) , program analyzers,
and program optimizers.
SGI CaseVision/WorkShop tools (list of all executables and uses) is the foremost
integrated program development software.
It can be used to debug (default a graphical dbx), analyze, and optimize code in many programming languages(C, C++, Ada, FORTRAN 77, and Fortran 90 ) as well as gl, OpenGL, and parallel code.
It has the possibility to view arrays visually in 3-D.
cvd is the debugging tool. All CaseVision programs can be called from each other's GUI interface or can be called individually.
Documentation
man pages installed for all these programs.
On the Suns:
Make sure /opt/SUNWspro/man is on your $MANPATH before /usr/man for
man dbx
Add /opt/NAG/npsol10ng/man or /opt/NAG/npsol40na/man to your $MANPATH for man dbx90
On the SGIs:
Add /opt/NAG/npsg610na/man to your $MANPATH for man dbx90
cvd, workshop, ddd - There is a help button on the GUI
When running dbx - type help or help all
When running gdb - type help
info gdb - gives the gdb manual (This manual can also be accessed from emacs).