Click here to Skip to main content
12,353,557 members (70,656 online)
Click here to Skip to main content
Add your own
alternative version

Stats

5.4K views
1 bookmarked
Posted

Visual Studio Integrated ULS Viewer (free Visual Studio 2012/2013 add-in)

, 5 Aug 2014 CPOL
Rate this:
Please Sign up or sign in to vote.
Project Description Visual Studio integrated ULS Viewer does not come to substitute or demand a place among the currently existing ULS viewers. Definitely it cannot even be compared with the richness of functionality of the originial UlsViewer from Microsoft (currently discontinued) but this is not

Description

Visual Studio integrated ULS Viewer does not come to substitute or demand a place among the currently existing ULS viewers. Definitely it cannot even be compared with the richness of functionality of the originial UlsViewer from Microsoft (currently discontinued) but this is not the case as VS Integrated ULS Viewer was created with a totally different mindset and for totally different target group than the rest. VS Integrated ULS Viewer was not created for system admins or any other users that point to traditionally monitoring SharePoint activity. It was conceptualized for the average developer who feels comfortable inside Visual Studio and gets his time wasted by hopping around screens, windows and GUIDs to get his staff done.

tool.png

All icons belong to Icon8 set http://icons8.com from VisualPharm http://www.visualpharm.com

Toolbar

toolbar.png

In the top of the tool window lies one simplist toolbar consisting of the following options :

  1. Live mode, choose this to hook on the current log and poll for new entries.
  2. Static mode, open an existing log file of your choice.
  3. Information about number the currently filtered and fetched ULS traces
  4. Clear and dispose the items
  5. The currently processed log file.

All buttons are interactive and come with 4 states noted by their border color :

  • Black : Inactive
  • Light Green : Active
  • Red : Error (Hover over the button and a tooltip relative to the error will give you a hint)
  • Orange : Currently processing

Filtering

filtering.png

By clicking on the filtering expander you will be offered with the following choices :

  1. Choose among the following categories : Message, Area, Category, Level and Correlation ID
  2. Choose among the following filtering options : Contains, Is equal to, Starts with, Ends with
  3. Enter the value your are looking for. The TextBox is providing search-as-you-type functionality.
  4. Go forth and back to previous filtering you have already made. My experience with Microsoft UlsViewer (besides that is a perfect tool) is that I was frustrated how I could (re)apply filters or remove them.
  5. Remove any filter.
  6. Send maximum 50 of your filtered results to a collegue for his own consideration. It is been million times that an admin or another developer is trying to discuss with me a bug and it takes ages until I get all the related traces in my hand. No more ! Check.

ULS traces

listview.png

All the ULS traces fetched are presented in a ListView with the following format :

  1. Every item is a collapsed Expander, bringing to the user the minimum required information (timestamp and a summary of the message). If you want to see more just expand the Expander.
  2. The message comes limited to a certain amount of characters, if you want to see the full message click on the “More details” link that will be explained later.
  3. Filtering links. By clicking any of the links for Area, Category, Level or Correlation ID automatically you apply a filter for this value.
  4. When the message is too long is been cropped. By clicking “More details” you get the full message and a little bit more…

moredetails.png

  1. The full ULS trace.
  2. Send this message to a collegue.
  3. Search the web for this message or a part of it by selecting the text of your preference in the TextBox.

Every ULS trace that its level is one of the : Warning, Critical or Unexpected is adorned by a respective icon and alarm color like in the following pictures :

warning.png

critical.png

Hint : Press “End” button while having focus on your ListView and set it to autoscroll mode. Otherwise it keep visible the last selected item.

Related

For an even more enhanced SharePoint debugging experience, combine the Visual Studio ULS Viewer with our other tool Visual Studio SharePoint Debugging Assistant : https://spassistant.codeplex.com

Follow me on twitter for fun dev staff or related to our tools : https://twitter.com/akyriako78


License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Kyriakos Akriotis
Architect
Germany Germany
I am a Systems' Architect living and working in Hamburg Germany. I have almost 20 years of experience in the Microsoft ecosystem. These days I mainly focus on Microsoft SharePoint and Azure.

You may also be interested in...

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160621.1 | Last Updated 5 Aug 2014
Article Copyright 2014 by Kyriakos Akriotis
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid