Disable IntelliTrace at runtime

I have an application that loads a lot of metadata at startup. This is done in a few seconds, but when I turn on IntelliTrace, it takes a lot of time. I understand why, but it makes using IntelliTrace impossible.

I would like to add instructions to my code so as not to record IntelliTrace events and call information during this download. After the download is complete, I want to add an expression that IntelliTrace can record information again.

Is there any way to achieve this?

+8
debugging visual-studio visual-studio-2010 intellitrace
source share
1 answer

Disconnect completely:

Tools -> Options -> IntelliTrace -> [ ] Enable IntelliTrace 

or find out exactly what type of event degrades performance and disables it:

 Tools -> Options -> IntelliTrace -> IntelliTrace Events 
+10
source share

Source: https://habr.com/ru/post/651374/


All Articles