How to start dotTrace when method execution time exceeds a threshold?

Hi!

One specific method once a day begins to run 30 minutes longer than usual. I need to get dotTrace at this point.

Is there any ready-made solution? (we already started reinventing the wheel :))

1 comment
Comment actions Permalink

Hi Dmitry,

 

Please sorry for the delay with the answer.

If you are ready to modify the code of your application, you can use our Profiling API or Self-Profiling API. See this page for details: https://www.jetbrains.com/help/profiler/Profiling_Guidelines__Advanced_Profiling_Using_dotTrace_API.html

Also, if it is possible to catch the moment when the method is running longer than usual, you can just attach dotTrace to your application and take a snapshot.

0

Please sign in to leave a comment.