Re: [solved]Re: a strange crash

Originally Posted by
hxf@dlut.edu.cn
I still want to know on how to generate a core dump like file in windows and how to use it to debug? should gdb still work? Anyway, powerful debug tools are still desired to find the location quickly!
Many years since I have done any debugging on windows, but I suspect it hasn't changed much. Google windbg and symbols. Basically MS provides symbols for all of the windows run-time dll's and you can generate symbols for your own app executables using MS tool chain.
Hope that gets you started in the right direction. Good luck!
P.S. Sorry, I just noticed that you are using mingw tool chain, not sure if it and/or GDB are windows symbols aware, etc. You'll have to google around to find out whether or not that's the case or whether windbg/symbols approach will be usable if not using the MS tool chain.
I write the best type of code possible, code that I want to write, not code that someone tells me to write!
Bookmarks