-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: LovedJohnySmith
Message 2 in Discussion

Gaurav:       Microsoft has a very good article on analyzing .Net memory issues 
that can be found at 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/dbgch02.asp
    Tools   Any good investigator needs a set of tools to examine the evidence. 
Here are my tools.           WinDbg (Windows Debugger) from Microsoft. This 
tool allows us to analyze the memory contents of your application. This can be 
downloaded from Microsoft, 
http://www.microsoft.com/whdc/devtools/debugging/default.mspx          SOS CLR 
debugger extensions. This is used in conjunction with WinDbg to look inside of 
the managed memory. The latest version of SOS is included with the WinDbg 
download. There have been many good articles written of the basics of using SOS 
including this MSDN article, 
http://msdn.microsoft.com/msdnmag/issues/03/06/Bugslayer/         ADPlus which 
is included in the Microsoft debugging tools. This script allows for capturing 
memory dumps when a process hangs or crashes. For capturing crash dumps the 
following command line is used: 

ADPlus.vbs crash pn aspnet_wp.exe 

This attaches the CDB debugger to the process with the specified name. If you 
are running on Window 2003 where there may multiple instance of the w3_wp.exe 
processes, you can specify the process id (PID) by using the p switch followed 
by the process id. If you wish to create an immediate dump you can open Task 
Manager and end the process. This will simulate a process crash. 
Sounds Intersting? 
Thanks, 
Smith

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to