views:

25

answers:

1

I am working on a C# windows based project in visual studio 2005.I often debug different features in this huge project.Now the problem is i have made few break points in few places which i require only when i debug for that feature.i want other break points to be disabled then.I understand this might not be a use case for larger community. What i want to know is,is there any way to group break points in VS 2005 ,so that i can enable disable them when i debug that particular feature?

+1  A: 

There's not a feature built into Visual Studio, however something I came across a while back is a clever use of macros to give some grouping functionality.

Check out this blog entry by Jim Gries showing how to do it.

Just a note, I now it doesn't help your current situation, but the situation has been improved in VS 2010.

Nick Craver