tyoma / micro-profiler

Cross-platform low-footprint realtime C/C++ Profiler

Home Page:https://visualstudiogallery.msdn.microsoft.com/133d5764-b32b-4ec9-8ee8-5546eca64584

Repository from Github https://github.comtyoma/micro-profilerRepository from Github https://github.comtyoma/micro-profiler

When the application being profiled is finished it is impossible to recompile it as its pdb is locked.

GoogleCodeExporter opened this issue · comments

The profiler's window locks application pdb. To proceed with compilation one 
must close the window.
The expected behavior is that the user shall be able to recompile the 
application even, if profiler's window is open.

Original issue reported on code.google.com by artem.ge...@gmail.com on 10 Apr 2012 at 11:04

Duplicate of a defect tracked.

I am still seeing this issue. Is it supposed to be solved, or is it by-design ?

I'm sorry, I wrongfully closed this issue. Reopening it now.

Hi!
I have made a small release, that caches symbols upon application exit and releases PDBs. This does not handle abnormal application termination (or terminate from debugger). This will be fixed later.
Please find the release here: https://github.com/tyoma/micro-profiler/releases/tag/v1.4.604.0
Thank you!

I had the opportunity to try it today and it worked as expected. Thanks a lot !

Thanks!
I'll leave this opened until the underlying functionality is made asynchronous (for .pdb >100MB it takes significant time to read the symbols, and now it just freezes the UI).

In 1.5 the debug info is requested asynchronously and then released, so that the application can be rebuilt immediately after profiling session.