madskristensen / DialToolsForVS

A Visual Studio extension
Other
50 stars 21 forks source link

Made Debug navigate breakpoints in design mode #5

Closed joj closed 7 years ago

joj commented 7 years ago

PR for https://github.com/madskristensen/DialToolsForVS/issues/3

In design mode, I'm moving next and back on the breakpoints when the dial is in Debug. It adds a MoveToBreakpoint method that receives a Func used to determine what breakpoint to move to. Then OnRotate I call it with two versions of the Func, one that looks for the previous or first breakpoint and one that looks for the next or last. It then opens the document containing the breakpoint and moves the caret to the line where it is.

madskristensen commented 7 years ago

Awesome. Thank you