Skip to content

Tip 7.19: You can use breakpoint filters to break the right process

February 19, 2013

“Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio“, courtesy of ‘Sara Ford’

Sara Ford’s Blog

Conditional breakpoints are for breaking at the expression level, when a particular condition is true, like x = 5. But what if you have multiple instances of the same app running? How do you set to break the instance you want?

The answer is breakpoint filters.

Go to Tools–Options–Debugging–General, and you’ll see the option Enable Breakpoint Filters.


Set a breakpoint and right-click to bring up the context menu.


In the Breakpoint Filter dialog box, you can specify when to break. The next image shows breaking a process by its process ID.


And you can verify the breakpoint filter in the Breakpoints window under the Filter column.


Happy Programming! =)

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: