Method and apparatus generating of debuging file in embedded system
暂无分享,去创建一个
A method and a device for generating a debugging file in an embedded system are provided to generate the debugging file having a predetermined size to manage limited resources of the embedded system efficiently by collecting information of process and the system information when a process is abnormally terminated. An abnormal operation detector(202) detects abnormal termination of a process(200) and checks whether generation of a debugging file of the process is selected. An information collector(204) collects performance information of the process and a system state of an abnormal termination time point when the generation of the debugging file is selected. A file generator(210) generates the debugging file by using the collected information. A time, memory, and CPU load measurer(212,214,216) measures time, a memory state, and CPU load when the process is abnormally terminated. The information collector includes a process information collector(206) for collecting address information representing functions performed from a starting time point to a terminating time point of the process, and a system information collector(208) for collecting the system state at the abnormal termination time point of the process.