Turning On/Off Application Insights Exception display for CodeLens in Visual Studio

Turning On/Off Application Insights Exception display for CodeLens in Visual Studio

In the previous post you have seen how we can use the CodeLens to display the Application Insights Exception Telemetry in Visual Studio . CodeLens displays the exception details when you are connected with the Application Insights services.  You can turn this feature on or off from the CodeLens Options dialog window.

If you are not connected with Application Insights, or Visual Studio required re-authentication for the connection, at very first place it will display as ‘?’  and will ask you for authenticate or connect.

? Exception

To disable this option, Right click on any of the indicator , and select “CodeLens Options….” from the context menu,.

CodeLens Options

 

Related Post :  Easy Access To CodeLens Options in Visual Studio

 

This will take you to All Languages –> CodeLens  and from the list of option you can check / uncheck the “Show Exceptions (Application Insights)” check box,

Show Exceptions (Application Insights)

DON'T MISS OUT!
Subscribe To Newsletter For your Daily Development Tips and Tricks  

 Best Tips & Tricks on Microsoft Technology Platform 

Invalid email address
We promise not to spam you. You can unsubscribe at any time.
Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.

One Comment to “Turning On/Off Application Insights Exception display for CodeLens in Visual Studio”

Comments are closed.