Visual Studio:直接进入语句a()-> f(b(),c(),d())中的f()的热键/方式 [英] Visual Studio : Hotkey/way to step into f() in statement a()->f(b(),c(),d()) directly
问题描述
在调试时,我当前处于(下一条)语句:-
While debugging, I am currently at this (next) statement :-
system<System_Body>()->executeFracture(calculateFracture(data));
^^1 ^^2
如何进入 executeFracture ()
或 calculateFracture()
直接而又简单(无需更改代码)?
How to step into executeFracture()
or calculateFracture()
directly and easily (without changing the code)?
热键?延期?
- 使用
F11是插件吗?
,我必须首先进入system< System_Body>()
。 - 我还可以跳转到
executeFracture()
的源,然后按ctrl + F10
,但不方便。
- With
F11
, I have to step intosystem<System_Body>()
first. - I can also jump to the source of
executeFracture()
and pressctrl+F10
from there, but it is not convenient.
MotKohn 和 TheUndeadFish 建议使用 具体步骤 ,谢谢!
另一个相似的线程(我稍后会发现)告诉它的热键是 Shift + Alt + F11
。
该热键使选择弹出窗口,很好。
MotKohn and TheUndeadFish advised using step into specific, thank!
Another similar thread (I just found later) tells that its hotkey is Shift+Alt+F11
.
The hotkey make the choices popup, nice.
现有答案( TheUndeadFish 的)要求我将鼠标移至弹出窗口上的正确选项。
(或按向上/向下键选择选项)
The existing answer (TheUndeadFish's) requires me to move mouse to a correct choice on the popup.
(or press up/down to select choice)
我希望更方便的方法,例如:-
I wish for a more convenient approach, e.g. :-
- 我点击
calculateFracture
一词,所以插入符号(闪烁| - 然后,我使用键盘按下某些热键,
VS将进入calculateFracture()
立即。
- I click at the word
calculateFracture
, so the caret (blinking |) move to it. - Then, I press some certain hotkey using keyboard,
VS will step intocalculateFracture()
immediately.
推荐答案
不是热键,而是当调试器在一行代码中停止时,在右键菜单上可以找到我所知道的最接近的内容。您应该能够找到 Step Into Specific条目,并带有一个子菜单,该菜单可以从该行中选择所有功能。
Not a hotkey, but the closest thing I know of can be found on the right-click menu when your debugger is stopped on a line of code line that. You should be able to find an entry to "Step Into Specific" with a sub-menu giving the choice of all the functions from that line.
https://msdn.microsoft.com/library/7ad07721(v=vs.100).aspx
这篇关于Visual Studio:直接进入语句a()-> f(b(),c(),d())中的f()的热键/方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!