Grouping of break points

2019-06-26 07:37发布

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?

2条回答
劫难
2楼-- · 2019-06-26 08:19

you can check this reference:

a VS 2010 Debugger Improvements (BreakPoints, DataTips, Import/Export)

This solution works only in Visual Studio 2010 and above

查看更多
太酷不给撩
3楼-- · 2019-06-26 08:26

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.

查看更多
登录 后发表回答