VerySleepy / verysleepy

Very Sleepy, a sampling CPU profiler for Windows
http://www.codersnotes.com/sleepy
GNU General Public License v2.0
1.05k stars 103 forks source link

Unload symbols (PDB files) after profiling by attaching #57

Closed schellingb closed 6 years ago

schellingb commented 6 years ago

When profiling not by loading a .sleepy file but by attaching to the process from the ThreadPicker the attach_info member gets allocated with new AttachInfo and never gets deleted even after the ThreadPicker gets deleted.

This causes the symbols (PDB files) to be locked forever until Very Sleepy is closed. This makes it annoying to test code changes while keeping multiple profile runs open because a program can't be recompiled while its PDB file is locked.