Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Dr Watson - I need to send a drwtsn32.log to my engineers

Reply
Thread Tools Display Modes

Dr Watson - I need to send a drwtsn32.log to my engineers

 
 
Janet E.
Guest
Posts: n/a

 
      11-19-2007
My customer has Vista. My company's software product "stops working" when he
takes certain actions. Our engineers want to see a Dr. Watson log from him
so they can diagnose the problem. How can I get a Dr. Watson log from my
Vista customer so I can give it to engineering? drwtsn32 does not work on
Vista.

In XP drwtsn32.log files, my engineers want Dump Symbol table and Dump all
thread contents, not a crash dump.

Thanks!
Janet
 
Reply With Quote
 
 
 
 
Andrew McLaren
Guest
Posts: n/a

 
      11-19-2007
"Janet E." <Janet E.@discussions.microsoft.com> wrote...
> My customer has Vista. My company's software product "stops working" when
> he
> takes certain actions. Our engineers want to see a Dr. Watson log from
> him
> so they can diagnose the problem. How can I get a Dr. Watson log from my
> Vista customer so I can give it to engineering? drwtsn32 does not work on


Hi Janet,

The Dr Watson debugger is obsolete. There is no Dr Watson in Vista. It has
been superceded by Windows Error Reporting (WER).

The ideal solution for your company would be to add WER to your application.
Then when a customer hits an exception, a report will be automatically sent
to Microsoft. ISVs can arrange to retrieve the crash details from
Microsoft - for details, see
https://winqual.microsoft.com/help/d...ide_to_WER.htm

But, in the short term .... on Vista, WER will create a mini-dump file of
the process, when the application crashes. This has a *.mdmp extension. It
is written to the Drive:\Users\UserName\AppData\Local\Temp directory. The
user can also access this file by going to Control Panel, System and
Maintenance, Problem Reports and Solutions, View Problem History. Highlight
the crash, in the list of problems, rigth click and choose View Problem
Details. If a dump was created for the crash, the details will include a
link entitled "View a temporary copy of these files". This opens an Explorer
window on the directory containing the mini-dump and othe supporting
diagnostic files. The user can drag and drop these files to another
location, to send to you.

The mini-dump file is an ordinary Windows Dump file. Your engineer guys can
load it up in WinDBG and then issue the "!analyze -v" command. This will
print out a report with all the same information contained in a Dr Watson
Log, and much more besides. I'd assume they are familiar with the Windows
Debugging Tools, but WinDBG etc can be downloaded from here:
http://www.microsoft.com/whdc/DevToo...g/default.mspx
These are the premier tools for debugging Windows. More information on how
to use WinDBG is here:
http://support.microsoft.com/kb/315263

I'd strongly recommend your engineers start using WinDBG and WER minidumps
to analyse problems, because Dr Watson is finished, discontinued, it is not
included in Windows any more. It's just going to get harder and harder to
debug problems, and eventually impossible, if they continue to rely on
DrWatson logs. WinDBG and a minidump will show everything that is in a
DrWatson log and more.

However, for the sake of completeness, the Drwtsn32.exe binary can still
run, on Vista. To use Dr Watson on Vista:
- get the drwtsn32.exe binary file from a machine running XP SP2 or Windows
Server 2003
- copy it across to the C:\Windows\System32 directory on the Vista machine.
- run this command to install DrWatson as the default system debugger:
C:\Windows\System32\drwtsn32 -i
- now run "drwtsn32" (with no paramters) to bring up the Dr Watson
configuration dialogue. Configure Dr Watson as desired. Dr Watson is now
installed as teh default system debugger, and wil be called whenver there is
an unhandled exception.

Note that this will leave Dr Watson installed on te machine in perpetuity.
There's probably some way to uninstall Dr Watson as the default debugger,
but ... I dunno how. Left as an exercise for the reader, I guess. You'll
probably need to tweak the AeDebug key in the registry. Maybe back up the
AeDebug registry key *before* installing Dr Watson (eg export it to a *.reg
file) and then restore it after you're finished using Dr Watson.

In summary - by far the best solution is to forget using Dr Watson, and come
to grips with examining the mini-dump using WinDBG. After the initial
setting up, this is a very simple and easy process, and shows all the same
info and more, as a Dr Watson log. If you really, *really* need to get a Dr
Watson log (I don't believe it, but anyway ...) then you can run the Dr
Watson EXE from XP or Server 2003 on a Vista machine. However this may
interfere with future WER reporting on that workstation, unless you
uninstall Dr Watson afterwards.

Hope it helps,

--
Andrew McLaren
amclar (at) optusnet dot com dot au


 
Reply With Quote
 
kevpan158
Guest
Posts: n/a

 
      11-20-2007
I Don't Go To Dr. Watson, Just FYI, I Go To Doctor Williams. The Dr. Told
Me To Uninstall Vista, Just FYI, And To Install Ubuntu. Just FYI.

That Is What I Did. Just FYI.

I Am A Ubuntu User Now. Just FYI.

Boycott Microsoft.


"Janet E." <Janet E.@discussions.microsoft.com> wrote in message
news:8879EAB6-40C6-4A35-9450-...
> My customer has Vista. My company's software product "stops working" when
> he
> takes certain actions. Our engineers want to see a Dr. Watson log from
> him
> so they can diagnose the problem. How can I get a Dr. Watson log from my
> Vista customer so I can give it to engineering? drwtsn32 does not work on
> Vista.
>
> In XP drwtsn32.log files, my engineers want Dump Symbol table and Dump all
> thread contents, not a crash dump.
>
> Thanks!
> Janet



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't send message from send box - crash during the sending Francois Hirsch Windows Vista Mail 4 01-11-2008 01:06 PM
Windows mail can't send email but in XP/2000 pro. send working OK Khurram AVT Windows Vista Mail 6 12-10-2007 12:54 PM
can.t send mail goes to outbox but cannot send unknown error markb Windows Vista Mail 1 12-04-2007 08:54 PM
an example of stupid design.. for the "engineers" Tibery-OS Windows Vista General Discussion 4 10-05-2007 06:36 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59