If a programme crashes, you will be shown a dialog like the one at the right (the appearance is a little different on Windows Vista, see below). If you are connected to the Internet, and you press Send Error Report then Windows will send some diagnostic information about the crash to Microsoft servers. Informatix retrieves this information from time to time, and analyses it to find out whether and why our programmes are crashing.
Although this is useful to us, and very little effort for you, there are three things which limit its usefulness:
If you have the time, then, the following strategy will give us more
comprehensive information, and a better chance of being able to respond
promptly.
Dr. Watson is a tool supplied with Windows versions prior to Windows Vista which (amongst other things) writes comprehensive diagnostic information to a disk file when a programme crashes. To set up Dr. Watson
C:\Documents and Settings\All Users\Application Data\Microsoft\Dr Watson\user.dmp
or something similar.
If, subsequently, an Informatix programme crashes, you can answer Don't Send to the Please tell Microsoft dialog box and, instead, send us the dump file which will be created. This file will be quite large (perhaps 100 - 200 MB), so please don't send it as an email attachment! Possibilities include putting it on an ftp server of yours where we can fetch it, or contacting us for access to our ftp server, or burning it to a CD-R and sending that.
In order to find the dump file, you may need to tell Windows Explorer to Show hidden files and folders on the Tools>Folder Options...>View dialog box, because C:\Documents and Settings\All Users\Application Data is a hidden folder.
A possible alternative is to set Crash Dump Type to Mini and send the resulting dump (which will be much smaller) to us by email. This will sometimes be enough for us to diagnose the fault, but if not we may need to ask you to collect and send us a full dump after all.
Any existing dump file is overwritten with a new one every time a programme crashes, so it is not normally necessary to delete old ones. If, however, the old one was created by different user on the machine, it's possible that you will not have sufficient privilege to overwrite it. If this is the case you will need to log in as a user with enough privileges and delete the old one by hand.
Note that as well as writing a dump file, Dr. Watson also appends very brief information about each crash to a log file usually called
C:\Documents and Settings\All Users\Application Data\Microsoft\Dr Watson\drwtsn32.log
This information is difficult to interpret, and is not usually comprehensive
enough to let us diagnose the problem.
On Vista,
when a programme crashes, a dialog like this is displayed. Do not press the
Close program button yet. Right-click some empty space on the Taskbar
at the bottom of your screen and choose Task Manager from the menu
which appears.
The Task Manager
window opens. Find the program which has crashed (for example,
microgds.exe or piranesi.exe), right-click it and choose
Create Dump File from the menu which appears.
A dump file
is written to your temporary file directory, and a message is displayed:
make a note of the filename.
You can now close the Task Manager window and press the Close program button on the original dialog box.
Send the dump file, which will be quite large (perhaps 100 - 200 MB), to
us by ftp or CD-R, as described above.
If one or more versions of Visual Studio is installed, then they will have declared themselves as available debuggers, and you may be shown this dialog box instead of the Please tell Microsoft dialog box. If you are, then the following procedure will generate a suitable diagnostic dump file.
Send the dump file to us by ftp or CD-R, as described above.
Alternatively, you could save the dump twice, once as a plain Minidump and again as a Minidump with Heap, email the first smallish version to us but hang on to the large second one in case we need to ask you for it.
Another strategy, not available on Windows Vista, is to execute the command
drwtsn32 -i
to re-install Dr. Watson as the default application debugger, but you may not want to do that if it would interfere with your normal use of Developer Studio. If you have executed drwtsn32 -i and you want to reinstate Visual Studio's just-in-time debugging facilities, then