2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
8 BACKTRACE --- Show a backtrace
9 ******************************
11 .. index:: BACKTRACE, backtrace
13 .. function:: BACKTRACE()
15 ``BACKTRACE`` shows a backtrace at an arbitrary place in user code. Program
16 execution continues normally afterwards. The backtrace information is printed
17 to the unit corresponding to ``ERROR_UNIT`` in ``ISO_FORTRAN_ENV``.
26 .. code-block:: fortran