Friday, January 29, 2010

How to Add Watch in SQL Server 2008 SSMS debugging

While debugging my code in SSMS I found the Watch window at Debug menu > Windows > Watch > Watch 1, 2, 3, 4.

Now to monitor a variable’s value I want to add that variable in Watch window.

To add a watch on a variable break in debug mode, simply Right click the variable and select Add watch. To add an expression just select it > Right click > Add Watch.

image

No comments: