----- Original Message -----
From: "Kevin Pilch-Bisson" <firstname.lastname@example.org>
> I wish we could get svn hooked up to the Dr. Watson crash reporting as a
> third party. Then we wouldn't need to distribute them as long as we
> saved a copy of the PDB's for each release. You can load a crash dump
> and apply PDB's to it later with Visual Studio. However, I'm not sure
> what's involved in getting non-Microsoft programs hooked up to Dr
> Watson. I'll have to try to remember to find out when I go back to work
> on Wednesday.
1. Dr. Watson is not installed on every windows system by default
2. On newer Windows-versions Dr. Watson isn't even available, 'cause
the format of the dump file changed. I don't know what the name
of the crash program on these systems is but it's not Dr.Watson
anymore. On XP this crashhandler always tries to send the
report to microsoft and not to you - and that can't be changed,
even many, many programmers have asked MS about that
3. You can use your own crashhandler if you want to. I built one
for TortoiseSVN myself, with code from different MS articles
and examples from CodeProject. It's basically a dll (117kB)
which is loaded at program startup and then you can forget
about it. If a crash occurs within your process space then the
crash-dll is called and it creates the windows dump file (the
new version - not the old one of Dr.Watson). My crashhandler
even shows a dialog box where the user can send the zipped
dump file and an xml-report back to the developer(s).
You can then use the xml-report and the dump file in e.g.
visual studio - just tell VS where the pdb-files are when you
load the dump file.
Some notes about my crash-dll: if you install the pdb files
on the users machine, a stack-trace with file/linenumbers
is included in the xml-report.
It needs the newest version of the dbghelp.dll from MS,
but this file is redistributable so you can include that in
your installer if you want.
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Mon Nov 17 13:30:31 2003