Abnormity debugging method and system
暂无分享,去创建一个
The invention provides an abnormity debugging method and system applied to a debugging process in which the abnormity occurs in a VxWorks operation system. The abnormity debugging method comprises the steps: invoking a preset abnormity handling function to acquire an ID value of a current task when the abnormity occurs in the VxWorks operation system, acquiring task information of the current task according to the ID value of the current task, analyzing stack information of the task, extracting and mirroring abnormal task stack information in the stack information of the task, and finally carrying out positioning analysis on abnormities in the abnormal task stack information according to the mirrored abnormal task stack information and a disassembling result of the mirrored abnormal task stack information. According to the method and the system, the corresponding abnormities in the stack information of the task can be subjected to the positioning analysis when stack is damaged.