Visual Studio中引用项目的开源文件

时间:2022-04-04 05:36:00

In Visual Studio, in design time, when I encounter a call to a procedure, I can jump to the code of that procedure by right-clicking it's name and selecting 'Go To Definition' (or press F12) from the pop-up menu.

在Visual Studio中,在设计时,当我遇到对过程的调用时,我可以通过右键单击它的名称并从弹出菜单中选择“转到定义”(或按F12)来跳转到该过程的代码。

However, this does not work for a procedure in a referenced (DLL) file (not included in the project).

但是,这不适用于引用(DLL)文件中的过程(不包括在项目中)。

But when I'm debugging in runtime, I CAN step into that procedure pressing F10 when it's called. This makes me think it should be possible in design time too, but I can't find how to do this.

但是当我在运行时调试时,我可以在调用时按F10进入该过程。这让我觉得它在设计时也应该是可能的,但我找不到如何做到这一点。

1 个解决方案

#1


0  

Not trying to be a smart-a$$, but: double-click on it. Probably I'm not understanding you. Give a better explanation, please.

不想成为一个聪明的$$,但是:双击它。可能我不理解你。请给出更好的解释。

#1


0  

Not trying to be a smart-a$$, but: double-click on it. Probably I'm not understanding you. Give a better explanation, please.

不想成为一个聪明的$$,但是:双击它。可能我不理解你。请给出更好的解释。