This is a migrated thread and some comments may be shown as answers.

Detaching doesn't seem to work

1 Answer 46 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Geoffrey
Top achievements
Rank 1
Geoffrey asked on 14 May 2013, 09:26 AM
I have tried the 'detach profilee' option and disable profiling, but neither seem to work. I started profiling an application (attach to existing process), then wanted to compare results with another profiler (Ants) but it could not attach because JT was still attached (even after exiting JT). Starting JT again, when it loaded the list of processes it showed that the process I previously p attached to was still sampling, so it seems like the detaching didn't work.

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 16 May 2013, 01:20 PM
Hi Geoffrey,

Thank you for reporting this.

You are correct that the JustTrace profiler remains attached to a running process even after Detach Profilee has been hit. You are also correct that stopping or restarting JustTrace is not changing the above either. It is unfortunate to say but for now, the only way to remove our profiler from the profiled process is to restart that process.

This is due to the fact, the Detach Profilee button is only disabling the JustTrace profiler inside the profiled process and saving the current session afterwards. This means the Detach Profilee button is almost the same as Kill Profilee (when profiling a .NET Executable, for example), but instead of killing the profiled process it leaves the JustTrace profiler disabled in it. So, to actually detach our profiler from a once profiled .NET running process, you will need to restart that current process, the same as other profilees being automatically killed by JustTrace (Kill Profilee) when the profiling session has ended.

I hope this helps.

Regards,
Kaloyan
the Telerik team
Share what you think about JustTrace & JustMock with us, so we can become even better! You can use the built-in feedback tool inside JustTrace, our forums, or our JustTrace or JustMock portals.
Tags
General Discussions
Asked by
Geoffrey
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Share this question
or