sql-server-2008debuggingssmsconditional-breakpoint

Can conditional breakpoints be set while debugging in SSMS?


I've just begun using breakpoints to debug a T-SQL stored procedure in Management Studio (SQL Server 2008). I notice that the breakpoints window has a condition column:

enter image description here

But I can't find any way to actually specify a condition on a breakpoint, not via the Debug menu, not via a context menu on the breakpoint or within the breakpoint window, etc.

Is there a way to use conditional breakpoints in SSMS, or does that column exist for some future version?


Solution

  • No, they can't. From this site, you can see some of the other limitations also.

    Here's the relevant quote:

    The T-SQL debugger does not support the Microsoft Visual Studio features of setting breakpoint conditions or hit counts.