How to define Multiple Breakpoints in MS Visual Studio
-
10-07-2019 - |
Question
Suppose you want to debug a project... but you want to step into all Event handlers, delegates methods etc... Is there any way how to add multiple Breakpoints at all of these locations (let's say at the start of each method) instead of manually clicking and choosing the breakpoints?
Solution
There is such a visual studio plugin for setting multiple breakpoints. See this article (now removed but linked via archive.org). Also, you can copy paste a macro from here into your visual studio. It also works with the 2010 edition
OTHER TIPS
Not out of the box. I guess it may be possible to create a VS Addon that could do this but I doubt that it would be worth the effort.
Native code had Class::*
syntax since at least VS2008. Probably the first case in recorded history where a debugging feature was implemented for native code before managed.