blog: dr watson in vista

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

User avatar
nikos
Site Admin
Site Admin
Posts: 16295
Joined: 2002 Feb 07, 15:57
Location: UK

blog: dr watson in vista

Post by nikos »

here's the comment area for today's blog post found at:
http://zabkat.com/blog/22Jun08-vista-wa ... ugging.htm
desslok
Bronze Member
Bronze Member
Posts: 167
Joined: 2008 Jan 16, 22:10

Post by desslok »

Thanks. Very useful.
namsupo
Member
Member
Posts: 49
Joined: 2007 Aug 29, 02:02

Post by namsupo »

You could always wrap your own exception handler and write out the minidump file yourself.
User avatar
nikos
Site Admin
Site Admin
Posts: 16295
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

i sure could but that's not the point! I would have to send out separate special debug builds....

how large is a minidump?
namsupo
Member
Member
Posts: 49
Joined: 2007 Aug 29, 02:02

Post by namsupo »

It varies but they're not that big (usually only a few meg at most).

Put an exception handler round the whole program with SetUnhandledExceptionFilter, and then if you crash write the minidump out to a file in %TEMP%. Then the user can send it to you or not - at least they have it there waiting for them.
User avatar
nikos
Site Admin
Site Admin
Posts: 16295
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

well you see that a few meg is much harder to email than a few KB that's dr watson report!
namsupo
Member
Member
Posts: 49
Joined: 2007 Aug 29, 02:02

Post by namsupo »

These days a few meg isn't really a problem for most people, and a minidump is a LOT more useful :)
User avatar
ZoNi
Silver Member
Silver Member
Posts: 253
Joined: 2002 Nov 03, 14:24
Location: Serbia

Post by ZoNi »

I have never understand why Sherlock... uhm, dr. Watson need to be on my PC! ;)

That is why I always removed it with nLite ;)
User avatar
nikos
Site Admin
Site Admin
Posts: 16295
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

so now you see how developers need it to troubleshoot problems on your computer!
fuxs
Bronze Member
Bronze Member
Posts: 84
Joined: 2006 Nov 02, 23:49

Post by fuxs »

The guys'n'dolls at Opera Software recommend Inspector IIXII to catch own crashes and freezes instead of Dottore Watson (which also can't do the latter).

Works with any program though, as it has to be registerd as debugger just like Nikos described it for Dr. Watson. I did not bother to compare their outputs yet as I happen to see very few crashes...
fuxs