Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does the mpatrol library not read the symbols in my executable file on Windows platforms?

0
Posted

Why does the mpatrol library not read the symbols in my executable file on Windows platforms?

0

If the mpatrol library was compiled with the FORMAT=FORMAT_IMGHLP preprocessor macro defined then you must ensure that you compile your files with debugging information enabled (using the -Z7 or -Zi options in Visual C++) and that you tell the linker that you wish to preserve the debugging information in the executable file (using the -debug and -pdb:none options in the Microsoft linker). Unfortunately, if you do not do this then the final executable file will not have a symbol table and so the mpatrol library cannot give symbolic stack tracebacks. • Why do some mpatrol log file entries only contain a partial call stack rather than following the function call stack back to the call to main()? This could be because the mpatrol library was compiled with limited call stack traversal support via the MP_BUILTINSTACK_SUPPORT configuration macro. However, it could also mean that the mpatrol library encountered a corrupt frame pointer when traversing the call stack and had to terminate the rec

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123