In computing, a hang may occur when code loops forever, waiting for an event which never happens. Debuggers can often retrieve useful information and further processing from hung situations, as opposed to haltss.


For capital punishment by suspension from and breaking of the neck, see hanging.