I have an application that loads a lot of metadata when starting up. This is done within a few seconds, but when I turn IntelliTrace on it takes ages. I understand why, but it makes it for me impossible to use IntelliTrace.
What I would like is to add a statement to my code to not record the IntelliTrace events and call information during this loading. After the load has finished, I want to add a statement that the IntelliTrace can record the information again.
Is there a way to achieve this?
You can turn on or off recording for specific IntelliTrace events. If you're debugging, stop debugging. Go to Tools > Options > IntelliTrace > IntelliTrace Events.
Enable IntelliTrace events and snapshots modeOpen Tools > Options > IntelliTrace settings, and select the option IntelliTrace events and snapshots.
IntelliTrace always records events that happen in the Visual Studio debugger. For example, starting your application is a debugger event. Other debugger events are stopping events, which cause your application to break execution.
Disable IT completely:
Tools -> Options -> IntelliTrace -> [ ] Enable IntelliTrace
or figure out what exactly event type degrades the performance and disable it:
Tools -> Options -> IntelliTrace -> IntelliTrace Events
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With