Add a "Step into outermost" to the Visual Studio debugger
While debugging, a single line of code may contain multiple function calls, but usually, when you "step into", you want to step in the outermost call. For example:
obj->getA()->getB()->Compute( x.getId(), returnStuff() );
In the code above, 9 times out of 10, you want to step into Compute(). This is what "step into outermost" would do, with a nice default shortcut like Shift-F10.
- Step into specific : going through the right-click menu is quite cumbersome, and finding the correct function is not immediate
- Alt + Shift + F11: default keyboard shortcut to "step into specific". This is nicer, but the shortcut is hard to do one-handed (which is often the case when debugging). It can be remapped, though.
- Using a natstepfilter file: it is possible to specify functions to never step into with this. However, maybe you do want to step into some of these functions sometimes...
Vincent Zalzal commented
For those interested, this item has been migrated to the new Developer community platform. You can upvote it there: https://developercommunity.visualstudio.com/idea/556961/add-a-step-into-outermost-to-the-visual-studio-deb.html