Skip to content

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

Merged
CyberShadow merged 1 commit intoVerySleepy:masterfrom
schellingb:unload-pdb-after-profiling
Jul 11, 2018
Merged

Unload symbols (PDB files) after profiling by attaching#57
CyberShadow merged 1 commit intoVerySleepy:masterfrom
schellingb:unload-pdb-after-profiling

Conversation

@schellingb
Copy link
Copy Markdown
Contributor

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.

@CyberShadow CyberShadow merged commit f2b3979 into VerySleepy:master Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants