(Print this page)

LINQ to SQL Debug Visualizer
Published date: Saturday, August 25, 2007
On: Moer and Éric Moreau's web site

Visual Studio 2005 introduced the concept of debugger visualizers. A debugger visualizer gives you the ability to customize how an object is displayed in the debugger. A visualizer can be as simple as formatting an XML string or as complicated as a full test bed that appears on demand.

The debugger visualizer for LINQ to SQL displays the raw SQL generated by the query. With a single click, the query can then be executed the query with the results being displayed in standard grid.

The LINQ to SQL debugger visualizer is not shipped with Visual Studio 2008, but you can download the source code for it from Scott Guthrie.

http://weblogs.asp.net/scottgu/archive/2007/07/31/linq-to-sql-debug-visualizer.aspx

(Print this page)