Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Process crash dump
I have an application that runs a bunch of programs.  Occasionally, one of t
he
programs dies a horrible death due to a coding error of some sort in the
program.  As things are configured today, when one of these programs dies, i
t
simply disappears from the computer, leaving behind no trace of why it died.

Can someone please tell me how I can configure my Windows XP Pro computer so
that these programs will leave behind a process memory dump that I can exami
ne
with windbg if the program exits as a result of an unhandled exception?

TIA - Bob



Report this thread to moderator Post Follow-up to this message
Old Post
Bob Altman
04-12-08 12:25 AM


Re: Process crash dump
Bob Altman wrote:
> I have an application that runs a bunch of programs.  Occasionally,
> one of the programs dies a horrible death due to a coding error of
> some sort in the program.  As things are configured today, when one
> of these programs dies, it simply disappears from the computer,
> leaving behind no trace of why it died.
>
> Can someone please tell me how I can configure my Windows XP Pro
> computer so that these programs will leave behind a process memory
> dump that I can examine with windbg if the program exits as a result
> of an unhandled exception?
>
> TIA - Bob

Try using "Doctor Watson". Type 'drwtsn32'  in menu start / run. Check its h
elp
to learn how to configure it.


--
Cholo Lennon
Bs.As.
ARG




Report this thread to moderator Post Follow-up to this message
Old Post
Cholo Lennon
04-12-08 12:25 AM


Re: Process crash dump
> Try using "Doctor Watson". Type 'drwtsn32'  in menu start / run. Check its
> help
> to learn how to configure it.

That looks promising.  Thanks Cholo!



Report this thread to moderator Post Follow-up to this message
Old Post
Bob Altman
04-12-08 03:30 AM


Re: Process crash dump
Hi Bob,

Additionally, if you want to do this on a development machine and you
prefer to use windbg for the postmortem debugging, you may just execute
"windbg.exe -I" from cmd.exe.(Please change "windbg.exe" with the full path
to it. Also, the "-I" is case sensitive). This command line to the windbg
will install windbg as the default postmortem debugger which is pretty
convenient.

Hope this helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

 ========================================
==========
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscript...ault.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscript...t/default.aspx.
 ========================================
==========
This posting is provided "AS IS" with no warranties, and confers no rights.


Report this thread to moderator Post Follow-up to this message
Old Post
Jeffrey Tan[MSFT]
04-14-08 03:52 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

VC++ archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 12:57 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.