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])
 
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]
 +
* 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. Download windbg from [http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx Install Debugging Tools for Windows 32-bit Version]
 +
 +
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

Revision as of 21:56, 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