Analysis of the cause of some undesired system behaviour, based upon information recorded at the time that the undesired behaviour was detected. For example, abnormal termination of a program might result in a record of the state of the program at the time of termination, and this record might subsequently be used for postmortem analysis of the reason for termination.