A system and method for using a processor thread as a debugger is
presented. A computer system boots up and initiates a debugger thread.
The debugger thread loads a robust, debugger operating system and
executes the debugger operating system. Once the debugger thread is
functioning, the debugger thread invokes an operational thread. In turn,
the operational thread loads a primary operating system and may run
various applications. While the operational thread executes the primary
operating system and the applications, the debugger thread monitors the
operational thread for proper functionality. When the operational thread
crashes or terminates, the debugger thread retrieves operational data
from the operational thread and provides the operational data to a
software developer for analysis.