Specify a breakpoint filter
Applies to: SQL Server
A breakpoint filter limits the breakpoint to acting only on specified computers, operating system processes, and threads. Breakpoint filters are typically used when debugging parallel applications.
Filter considerations
Breakpoint filters aren't typically used with the Transact-SQL debugger because Transact-SQL scripts and stored procedures aren't parallel applications.
Specify a breakpoint filter
In the editor window, right-click the breakpoint glyph, and then select Conditions... on the shortcut menu.
-or-
In the Breakpoints window, right-click the breakpoint glyph, and then select Settings on the shortcut menu.
In the Breakpoint Settings dialog box, select the Conditions options and select Filter from the drop-down.
Use the Filter box to specify computers by name, or operating system processes and threads by either name or ID number:
MachineName is the computer running the instance of the Database Engine.
ProcessID, and ProcessName are the operating system process running the instance of the Database Engine.
ThreadID and ThreadName are the operating system thread running the Transact-SQL batch, procedure, or function in the instance of the Database Engine.
Select Close to implement the changes.