tabs ↹ over ␣ ␣ ␣ spaces

by Jiří {x2} Činčura

Run To Cursor in Call Stack window

7 Sep 2017 1 mins Visual Studio

Today I found a great new feature for debugging in Visual Studio. Maybe you know the Run to Cursor feature (if not, I’ll explain it in next paragraph), but did you know you can use the same feature from Call Stack as well?

The Run to Cursor feature (shortcut Ctrl-F10) is my favorite feature. It allows you to place cursor on some line and run to that line. Something like a temporary breakpoint. I use it very often. And in Visual Studio 2017 this works also for Call Stack window.

As you’re debugging, very likely you’re stepping into some functions (F11) and going deeper and deeper. Once you nailed it or fixed it, you might want to jump out of this hole and continue where you started. You can do bunch of Shift-F11s to jump out of the function(s), but you can do better. Right click on a frame in Call Stack window and voilà, the Run to Cursor (same Ctrl-F10 shortcut) is there. Although same result can be achieve using different steps too, this one is very smooth.

Run To Cursor in Call Stack window

Another tool into my, and your, toolbelt to be efficient while debugging.

Profile Picture Jiří Činčura is an independent developer, .NET, C# and Firebird expert, focusing on data and business layers, language constructs, parallelism, databases and performance. He's Microsoft Most Valuable Professional and frequent speaker. You can read his articles, guides and tips and tricks at