I'm trying to debug a particularly nasty state-based issue that has no known repro, and has only been seen in the wild on other people's machines. The issue is very specific and hard to detect (basically a 3D physics engine breaks at a random time, but doesn't actually harm program stability)
I would like to be able to take a full memory snapshot of the application at the users discretion, like a crashdump but with as much of the program's state as possible. But I'm not sure if such a thing is even possible in a release build for a C++ program. (And even if it was, a lot of data will be obfuscated...)
Is there a way to generate a full memory dump? What other alternatives do I have?
Platform details: Windows and Linux, Microsofts default compiler for VS2013