how to generate pdb files while building library using mingw?

Manoj Hanamshet picture Manoj Hanamshet · Oct 9, 2013 · Viewed 10.4k times · Source

I am cross compiling from linux to windows using the mingw32 tools. I need to generate pdb files for debugging on windows. Is there a way to do this?

Answer

Pierrot picture Pierrot · Jan 28, 2015

this project gives you the ability to generate the pdb, it works in most cases for debuging :

https://github.com/rainers/cv2pdb

more details can help in this post about post mortem debugging

http://blog.morlad.at/blah/mingw_postmortem