Home > Software engineering >  How to Release version Exe to find collapse in the MAP
How to Release version Exe to find collapse in the MAP

Time:10-15

Online can see there are LONG WINAPI MyUnhandledExceptionFilter (PEXCEPTION_POINTERS pExceptionInfo) way
How is such an exception, but use the Map as if can't locate
Void CTestSysErrorDlg: : OnButton6 ()
{throw 0;
}
Exception address 0 x7594845d it simply can't find in the Map file,

After I tested F5 to run, found that the error is also x7594845d 0, click on the Call Stack are positioning the third line of code in

So in this case can directly Map to locate OnButton6 () code?

Or is there any other way?
Thank you very much!

CodePudding user response:

Vc station there is a post, pay attention to the generated PDB to keep
Use WinDbg to find the program crashes the code line number
http://www.cctry.com/thread-41078-1-1.html

CodePudding user response:

0 x7594845d is the call stack, the stack is belong to kernel32. The address space of the DLL,

You need to set the symbol table environment variables to see the function name

CodePudding user response:

"The Release version Exe to collapse in the MAP", "
Could not initialize variables, and the debug variable will have a compiler when initialized,

CodePudding user response:

refer to the second floor linda9989 response:
0 x7594845d is the call stack, the stack is belong to kernel32. The address space of the DLL,

You need to set the symbol table environment variables to see the function name


Thank you very much, your answer is perfect to solve my problem!

CodePudding user response:

Generate the DUMP file and then use windbg to view broadly to,

With SEH mechanism to generate a DUMP file
  • Related