``loader_exit`` in CCS
----------------------

If a fault condition causes an application to exit prematurely in CCS, the
target will halt at the ``loader_exit`` symbol - as shown
in :numref:`loader_exit_ccs`. The cause for the fault condition is typically
displayed in the **console** window.

.. _loader_exit_ccs:

.. figure:: /debugging/resources/loader_exit_ccs.png
    :align: center

    A sample view when a CCS application terminates.

If the console window is not already open, CCS will open the console window for
you and print the cause for the termination. Alternatively, you can also
use :term:`ROV` to determine the cause for the fault.

.. _loader_exit_ccs_console:

.. figure:: /debugging/resources/loader_exit_ccs_console.png
    :align: center

    Sample output of an exception onto the CCS console.
