Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable IntelliTrace during execution of application

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?

like image 580
Ewald Hofman Avatar asked Jan 22 '11 14:01

Ewald Hofman


People also ask

How do I turn off IntelliTrace?

You can turn on or off recording for specific IntelliTrace events. If you're debugging, stop debugging. Go to Tools > Options > IntelliTrace > IntelliTrace Events.

How do I enable IntelliTrace?

Enable IntelliTrace events and snapshots modeOpen Tools > Options > IntelliTrace settings, and select the option IntelliTrace events and snapshots.

What is IntelliTrace EXE?

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.


1 Answers

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
like image 117
abatishchev Avatar answered Sep 21 '22 12:09

abatishchev