Is it possible to assign a shortcut to “Step Into Specific” in Visual Studio 2012 C++?

試著忘記壹切 提交于 2019-12-23 16:44:46

问题


I recently discovered the "Step into Specific" option while debugging C++ in Visual Studio (using VS2012) which is really helpful especially if there are many constructors, smart pointers, etc.

However, as I'm mostly debugging using the keyboard (F9, F10, F11, Shift-F11) I wonder whether it was possible to add this function to the keyboard repertoire somehow ?

Alternatively, as I mostly use the "step into specific" command on functions like

void doSomethingInterestingWith(sharedPtrToDb->getEltFromDb(EltId(atoi(key)))) 

I wonder whether it is possible to create a shortcut that just goes directly into the outer function (doSomethingInterestingWith())


回答1:


There is a Debug.StepIntoSpecific command with the default shortcut Shift+Alt+F11 which shows a context menu with functions that you can select using keyboard.



来源:https://stackoverflow.com/questions/39407219/is-it-possible-to-assign-a-shortcut-to-step-into-specific-in-visual-studio-201

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!