You said that you need to debug code that you did not write without any code. In my experience, this is not so simple, but ... You can configure drwtsn32, if it is still present on you SO, to write output files when the program crashes.
The old-style way out is drtwsn32.log (the Windows version from NT 4.0 to the actual Windows 7 puts this file in another place on the disk, just looks at this file), which gives you a stack trace, registries and a small amount of memory dump. Essentially, you must have the .map file of the source program to identify the failed function and even the line of code that crashes (there is a convenient method that I started using a long time ago ... but you need a full MAP file).
A later version of drwtsn32 creates a set of o files. They ar
- appcompat.txt
- manifest.txt
- program.exe.hdmp
- program.exe.mdmp
This is the memory and dump of the process. Open it with Microsoft IDE / Debugger as Visual Studio 2008/2010 and see
It shows the full call stack, memory status, all registries and so on. If you also have a .pdb file for the program that crashes, you should know which one is funcion and the code line, but ... without the source file that you use in the dark, I think.
So ... A MAP file or a PDB file must be present, or I think you will encounter very hard work.
NTN
source share