[英]How to “Go to definition (F12)” of external code in Visual Studio?
I have ac# solution A in my Visual Studio 2010. I have added a dll of solution B as a Reference. 我在Visual Studio 2010中有一个ac#solution A.我添加了一个dll解决方案B作为参考。 I have build the solution B with "Debug".
我用“Debug”构建了解决方案B.
If I run solution A in debug mode I can debug into solution B (Step Into F11) and see the code. 如果我在调试模式下运行解决方案A,我可以调试到解决方案B(Step Into F11)并查看代码。 That's nice.
真好。 If I am NOT in debug mode and I "Go to definition (F12)" of external code Visual Studio opens a file without the body/logic of the methods :-( It looks something like an Interface.
如果我不处于调试模式并且我“去定义(F12)”的外部代码Visual Studio打开一个没有方法的主体/逻辑的文件:-(它看起来像一个接口。
Is it possible to "Go to definition (F12)" of external code in edit mode? 是否可以在编辑模式下“转到外部代码的定义(F12)”? Do I need a plugin?
我需要一个插件吗?
I do not want to edit the external code. 我不想编辑外部代码。 I just want to read the logic an set break points.
我只想读取逻辑设定的断点。
This situation only happens in non-Debug modes. 这种情况只发生在非调试模式下。 It's better to run both in Debug when you are going to debug and set breakpoints.
在调试和设置断点时,最好在Debug中运行它们。
Run both in the Debug mode. 在调试模式下运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.