DebugDiag: How to inject LeakTrack.dll manually

随声附和 提交于 2019-12-08 11:25:45

问题


I have a crash dump from production to identify a memory leak. When I used DebugDiag (v2 update 2), I get a report

DebugDiag did not detect LeakTrack.dll loaded in w3wp.DMP, so no leak analysis was performed on this file. If you are troubleshooting a memory leak, please ensure LeakTrack.dll is injected into the target process using the DebugDiag tool before or generating new dumps

. I'm not able to find a way to inject LeakTrack.dll from DebugDiag UI or after going through the documentation. How do I inject LeakTrack.dll manually?


回答1:


In the Debug Diag installation folder, there should be a DebugDiag.Collection.exe. If you run it, select Cancel, then switch to the processes tab. Choose your process and from the context menu, select "Monitor for leaks". This will inject the DLL.



来源:https://stackoverflow.com/questions/40453101/debugdiag-how-to-inject-leaktrack-dll-manually

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!