Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this messageBob 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
Post Follow-up to this message> Try using "Doctor Watson". Type 'drwtsn32' in menu start / run. Check its > help > to learn how to configure it. That looks promising. Thanks Cholo!
Post Follow-up to this messageHi 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.
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.