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

By | July 5, 2016

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)

One thought on “Turning On/Off Application Insights Exception display for CodeLens in Visual Studio

  1. Pingback: Visual Studio – Developer Top Ten for July 11th, 2016 - Dmitry Lyalin

Comments are closed.