Project Setting:
1)C/C++:Output Files:Assembler Output:cod file
2)Linker:Generate Map File & Map File Name;
Record crash address&crash module
normally, the crash offset address is: crash address - 0x00400000 - 0x1000
1)Find the crashed function & its obj File
open map file
find crashed FUNCTION ADDRESS: the max offset address in map file that is less than crash offset address
and record the FUNCTION name and object file name
2)Find the crashed Line in the fuction
open the related COD file and find that FUNCTION
the crash offset address - FUNCTION offset ADDRESS