4

I am debugging my project, while debugging I have 2 sets of 'things' I need to monitor.
sometimes set A and sometime set B, for both sets i need different break points, can i gather the break points to groups and then disable/enable break point groups ?
Otherwise, i have to set each time the right breakpoints for each flow and then change them..

Thanks

3
  • You could run two instances of VS Commented Dec 18, 2012 at 13:18
  • Yes I am aware of this, but since im working on VM it is slow enough i'd rather not run 2 instances :) tnx Commented Dec 18, 2012 at 13:32
  • Duplicate. stackoverflow.com/questions/2181655/grouping-of-break-points Commented Dec 18, 2012 at 13:34

1 Answer 1

2

BreakPoints have Labels.

  1. Start by setting a Label for each BreakPoint Alt F9+ L or Right Click -> Edit Labels.

  2. Name them SetA and SetB

  3. Use the Search textbox and type SetB - you'll only see the Breakpoints that match that label.

  4. Now press the Enable or Disable all breakpoints matching the current search criteria button. Only those breakpoints will get enabled.

Now just by typing SetA or SetB in the TextBox you can Enable/Disable the entire group

Notice you also have Export and Import buttons so you can save theses settings and reload them whenever you want.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.