Debug Tutorial: How to View Process State

Command syntax:
process [ context ] [ change ] [ full ]

Process states fall into two general catergories, running and stopped. Many commands cannot act upon a process in a running state and will print an error if this is attempted. The halt command can be used to put a process into a stopped state so that it can be examined.


Example process state display:

        Context             State      Reason    Location     Procedure
  ====================== ============ ========= ========== ====================
> (0)                    Initial                Line 16    main()
> (1,3)                  Stepped                0x0003b410 _doprnt()
>*(2)                    Stepped                Line 19    main()
> (4)                    Breakpoint   C Bp2     Line 20    main()
>*(5)                    Signaled     SIGSEGV   Line 13    one()

Intel Tutorial Notes Previous -- Next
Acknowledgement and Disclaimer