In general, you should use either the debugger that is supplied with each type of compiler or a general purpose debugger like TotalView. The table below provides the compilers and their associated debuggers for the compilers installed on Research Computing Linux computers.
For additional information see: