Difference between revisions of ".NET & Memory Leaks"

From Richard's Wiki
Jump to: navigation, search
(New page: * Perfmon & .NET * [http://www.codeproject.com/KB/dotnet/idisposable.aspx IDisposable: What Your Mother Never Told You About Resource Deallocation])
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
* [[Perfmon & .NET]]
 
* [[Perfmon & .NET]]
 
* [http://www.codeproject.com/KB/dotnet/idisposable.aspx IDisposable: What Your Mother Never Told You About Resource Deallocation]
 
* [http://www.codeproject.com/KB/dotnet/idisposable.aspx IDisposable: What Your Mother Never Told You About Resource Deallocation]
 +
* [http://www.codeproject.com/KB/dotnet/Memory_Leak_Detection.aspx Memory Leak Detection in .NET] uses WinDbg.
 +
* Download windbg from [http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx Install Debugging Tools for Windows 32-bit Version]. The following batch file will run windbg with the VS2008 environment set so that ".load sos.dll" can be run from the prompt in windbg. Install the batch file in the Debugging Tools install directory (C:\Program Files\Debugging Tools for Windows (x86)).
 +
 +
echo off
 +
REM Runs windbg with VS2008 environment set so that ".load sos.dll" can be run simply
 +
call "C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat"
 +
start windbg.exe
 +
REM set /p a=Press Enter

Latest revision as of 22:06, 9 December 2008

echo off
REM Runs windbg with VS2008 environment set so that ".load sos.dll" can be run simply
call "C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat"
start windbg.exe
REM set /p a=Press Enter