Exception processing method and device

The invention discloses an exception processing method and an exception processing device. The method comprises the following steps of: detecting one or more exception states in instructions; searching attribute information corresponding to the exception states in an instruction exception state list, wherein the instruction exception state list saves the attribute information of various exception states; and displaying the attribute information corresponding to the exception state. The method and the device can quickly and accurately position exception places, improve the accuracy and processing efficiency for processing exception, facilitate software code maintenance, and improve accessibility of users and robustness of software.