Ravisha
Ravisha

Reputation: 3353

Grouping of break points

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?

Upvotes: 4

Views: 1502

Answers (3)

DevGirl87
DevGirl87

Reputation: 41

this is now available in the latest Visual Studio 2022 Preview.

https://devblogs.microsoft.com/visualstudio/streamlining-your-debugging-process-with-breakpoint-groups/

Upvotes: 1

Mujahed
Mujahed

Reputation: 86

you can check this reference:

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

This solution works only in Visual Studio 2010 and above

Upvotes: 0

Nick Craver
Nick Craver

Reputation: 630607

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.

Upvotes: 4

Related Questions