Can I set breakpoints to all methods in a class at once in Visual Studio?
I have 40-50 methods in a class, I want to add breakpoints to all of them. Can I add breakpoints to all of them at once? vt. There is an addon-less method described here: How to set a breakpoint on a C++ class in the Visual Studio Debugger In short, you can bring up the "New Breakpoint" dialog by pressing CTRL+B and type in ClassName::* to the function field. You can then disable some of them in the breakpoints window. Here's your macro, but it takes a while to set breakpoints on 1000+ functions... and it WILL slow down Visual Studio! Sub BreakAtEveryFunction() For Each project In DTE.Solution