Activity overview
Latest activity by fca
Yes,
this is probably what I will do. (An alternative could be a command line argument which tells if we want to run a profiling session or not. Simple, solid, and ... safe).
cheers,
François / comments
Yes,
this is probably what I will do. (An alternative could be a command line argument which tells if we want to run a profiling session or not. Simple, solid, and ... safe).
cheers,
François
Thanks Robert,
I tried you API and it just works fine. Beside of letting me close my profiling session when I shut down our application, it also helps reproduce similar results. Well, as similar as a statistical sampling might be (-; ), but still, the idea is nice.
You could maybe even add a static boolean in your API indicating if the profiler is running?
(I am lazy and do not want to check programmatically every process running when I launch the appli, and do not like a code like:
try
{//called when appli is closing
RedGate.Profiler.Api.TakeSnapshot();
RedGate.Profiler.Api.Disable();
}
catch (RedGate.Profiler.ProfilerNotRunningException e)
{
//do nothing but takes time and ressource...
} / comments
Thanks Robert,
I tried you API and it just works fine. Beside of letting me close my profiling session when I shut down our application, it also helps reproduce similar results. Well, as similar as...
application does not shut down normally
I had a problem with the previous release that I still have with the v3 Beta. Whenever I stop the (big) application that I am profiling, I receive the following message: "The application that you a...