Article Options
Premium Sponsor
Premium Sponsor

 »  Home  »  Reviews  »  Software Reviews  »  SmartInspect Review  »  SmartInspect Page 2
SmartInspect Review
by John Spano | Published  10/30/2006 | Software Reviews | Rating:
John Spano

John Spano cofounder and CTO of NeoTekSystems, a Greenville, South Carolina technology consulting company. NeoTekSystems offers IT consulting, custom programming, web design and web hosting. We specialize in Microsoft .Net enterprise development and business design.

I have six years of experience in software architecture. My primary focus is on Microsoft technologies, and I have been involved in .NET since beta 1. I currently hold a MCSD certification, 2 MCTS's (Windows, Web) a MCPD in Distributed, 2 MCITP's, a Microsoft MVP, and have won the Helper of the Month contest for July 2002 in the devCity.NET forums.

Corporate URL:
Primary email:
Alternate email:


View all articles by John Spano...
SmartInspect Page 2

     Since this was a short log it’s easy to find what we want. In a large log, you need a way to filter what you’re seeing to find specific entries.  SmartInspect provides several ways to filter data.  You have several built in filters and you can also build your own.

They are simple to apply.  Just select one and you have your entire log filtered.   For instance, I can separate an ASP.Net log by each user’s session.

     You can also build your own filters using a simple to use dialog.

     There are many other features such as bookmarks, comments, the ability to search for methods and separators.  It’s easy to be searching through a log and have to stop and do something else or need to pass information on to another developer.  SmartInspect lets me add my notes to it easily.  Just right click.  You can see I added a comment below.

     Overall I was very impressed with SmartInspect.  It’s easy to use with almost no learning curve and the logs are presented in a useful way instead of lines of useless text.   I’ve only scraped the surface of the log viewer here and its capabilities.   I highly suggest you download a demo copy and play with it yourself.

     I am also going to include a macro that I wrote.In order to help facilitate adding the EnterMethod and LeaveMethod to each function I write, I designed a macro.  Just put your cursor in your C# method and run the macro.  It will put the enter and leave tags in your code and read the method name for them.    It’s not tested extensively so use at your own risk .   It’s provided as is.


Sub SiFormatMethod()

Dim projectItem As ProjectItem = DTE.ActiveDocument.ProjectItem

Dim fileCodeModel As FileCodeModel = projectItem.FileCodeModel

' Get the current selection

Dim selection As TextSelection = DTE.ActiveDocument.Selection

' Get the current cursor location

Dim point As TextPoint = selection.ActivePoint

' Try to read the current location as a code element

Dim codeElement As CodeElement = _

fileCodeModel.CodeElementFromPoint( _

point, vsCMElement.vsCMElementFunction)

If (codeElement Is Nothing) Then

MsgBox("Place mouse cursor in a method before running this macro.", _



End If

Dim codeFunction As CodeFunction = CType(codeElement, CodeFunction)

Dim fieldName As String = codeFunction.Name

Dim startPoint As EditPoint = codeFunction.GetStartPoint(vsCMPart.vsCMPartBody).CreateEditPoint




startPoint.Indent(, 3)

startPoint.Insert("SiAuto.Main.EnterMethod(""" & fieldName & """);")


startPoint.Indent(, 3)

Dim endPoint As EditPoint = codeFunction.GetEndPoint(vsCMPart.vsCMPartBody).CreateEditPoint




endPoint.Indent(, 3)

endPoint.Insert("SiAuto.Main.LeaveMethod(""" & fieldName & """);")

End Sub

How would you rate the quality of this article?
1 2 3 4 5
Poor Excellent
Tell us why you rated this way (optional):

Article Rating
The average rating is: No-one else has rated this article yet.

Article rating:3.30232558139534 out of 5
 43 people have rated this page
Article Score17894
Sponsored Links