知識庫

  1. 首頁
  2. Client Errors
  3. Handle leak detection
建立日期
修改日期

文章 2718

Handle leak detection

Install the Windows Performance Toolkit from the Windows SDK [1].

  1. wpr -start handle
  2. reproduce the case
  3. wpr -stop "%TEMP%\handle.etl"
  4. wpa "%TEMP%\handle.etl"
  5. Memory - Handles - Outstanding Count by Process
  6. Add graph to Analysis View
  7. Series - SmartFTP.exe
  8. Right-click SmartFTP.exe, select Filter to Selection
  9. Add the Create Stack (Frame Tags) to the columns
  10. menu: Trace - Load Symbols
  11. Drill-down to the function in the stack trace

References

  1. Windows SDK
  2. Easy Handle Leak Detection Without A Debugger

關鍵字

相關文章
icon Memory and handle leak detection


What do you think about this topic? Send feedback!