This question was answered before for a previous version of Visual Studio (VS). The offered solutions involved macros, which are no longer available in VS 2015. Could I get a solution for VS 2015?
I would like to do a "find all" in VS and put a debug-breakpoint on every line with a find match.
Link to previous question asked by Noah: How do I add Debug Breakpoints to lines displayed in a "Find Results" window in Visual Studio
I've converted the old macro to a VB command in Visual Commander (by adding explicit namespaces to classes):
If you have JetBrains Resharper and use one of Reharper's search commands, you can do this directly from Resharper's Find Results window (different from VS Find Results).
Example:
Resharper > Navigate > Go to Text... (Ctrl+T,T,T if using Resharper key map)
And then in Find Results (Resharper), right click any node or container in the tree view and choose "Set Breakpoint." This sets a breakpoint on all sub-nodes.
Reference:
https://blog.jetbrains.com/dotnet/2017/12/04/debugger-features-resharper/