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?
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. In Visual Studio 2017 you need to include the namespace in the field, as in NamespaceName::ClassName::*
.
You can then disable some of them in the breakpoints window.