Article View: comp.os.ms-windows.programmer.win32
Article #2200Re: How to debug remote software installations
From: Stephen Kellett
Date: Fri, 14 Jun 2002 13:32
Date: Fri, 14 Jun 2002 13:32
32 lines
2548 bytes
2548 bytes
In message <B92F4E8E.38BA%jbotwick@nc.rr.com>, Jason Botwick <jbotwick@nc.rr.com> writes >What's the best way to diagnose the cause of crashes that occur on software >that you have deployed to a user? When I was writing UNIX applications, we >could always examine the core dump. Is there some analogue under Windows? >Are there some tools that you can use to save the state of an application >when it crashes? > 1) Dr Watson log. 2) Always create a map file (including lines /MAPINFO:LINES) for each DLL you ship and keep them safe. 3) If you visit http://www.objmedia.demon.co.uk (go to software) and get the MapFileDLL and MapFileExplorer projects you will be able to load a map file and then type in the DLL load address and the crash address and the MapFileExplorer will tell you, to the nearest line where the crash happened. The map file loads quickly, but populating the tree control takes some time for large (3MB) map files (ie: 30 seconds or so). You may also like to use a professional tool to analyse your memory related problems. http://www.softwareverify.com Regards Stephen -- Stephen Kellett http://www.objmedia.demon.co.uk Object Media Limited C++/Java/Windows NT/Unix/X Windows/Multimedia If you are suffering from RSI, contact me for advice. Unsolicited email from spam merchants not welcome.
Technical Details
Message-ID:
<ufCWzYFyBfC9EwIk@objmedia.demon.co.uk>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!howland.erols.net!newspeer.monmouth.com!kibo.news.demon.net!news.demon.co.uk!demon!objmedia.demon.co.uk!snailReferences:
<B92F4E8E.38BA%jbotwick@nc.rr.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113dfb,f80404d8a27f374f X-Google-Attributes: gid113dfb,public X-Google-Thread: fd047,f80404d8a27f374f X-Google-Attributes: gidfd047,public X-Google-ArrivalTime: 2002-06-14 06:38:02 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!howland.erols.net!newspeer.monmouth.com!kibo.news.demon.net!news.demon.co.uk!demon!objmedia.demon.co.uk!snail From: Stephen Kellett <snail@objmedia.demon.co.uk> Newsgroups: comp.os.ms-windows.programmer.win32,codewarrior.windows Subject: Re: How to debug remote software installations Date: Fri, 14 Jun 2002 14:32:34 +0100 Organization: Object Media Limited Message-ID: <ufCWzYFyBfC9EwIk@objmedia.demon.co.uk> References: <B92F4E8E.38BA%jbotwick@nc.rr.com> NNTP-Posting-Host: objmedia.demon.co.uk X-NNTP-Posting-Host: objmedia.demon.co.uk:158.152.62.180 X-Trace: news.demon.co.uk 1024061835 nnrp-01:18385 NO-IDENT objmedia.demon.co.uk:158.152.62.180 X-Complaints-To: abuse@demon.net MIME-Version: 1.0 Content-Type: text/plain;charset=us-ascii;format=flowed User-Agent: Turnpike/6.00-U (<hV7vmQFxKmZUS1+cN7S2luDtO3>) Lines: 32