I've worked with the Call Stack, Call Hierarchy, and Profiler. None of these tools gives me a simple, live "just executed function list"... in a tool Visual Studio window. I need something to look at when I click a button or link that guides me to a specific code file and line (if available).
我使用过Call Stack,Call Hierarchy和Profiler。这些工具都没有给我一个简单的,实时的“刚才执行的函数列表”......在一个工具Visual Studio窗口中。当我点击指向特定代码文件和行(如果可用)的按钮或链接时,我需要查看一些内容。
I've found nothing of the sort. Maybe, even if PDB FULL is on, such information isn't available. I believe at this point that I'll have to write a Visual Studio 2012 Add-In or Extension to do what I need, but I run into problems there as well: For one, I can't get a function name from any viable interface unless I pause the debugger or encounter a break-point. Second, the application that I want the list for is a MVC app that runs as a DLL under "WebDev.WebServer40.exe".
我没有发现任何类似的东西。也许,即使PDB FULL打开,也无法获得此类信息。我相信在这一点上我将不得不编写一个Visual Studio 2012加载项或扩展来完成我需要的工作,但我也遇到了问题:对于一个问题,我无法从任何可行的函数中获取函数名称接口,除非我暂停调试器或遇到断点。其次,我想要列表的应用程序是一个MVC应用程序,它在“WebDev.WebServer40.exe”下作为DLL运行。
I thought this would be very simple: From an extension, create a tool window and log the last executed method along with argument list.
我认为这很简单:从扩展中创建一个工具窗口并将最后执行的方法与参数列表一起记录下来。
Any ideas? Many thanks in advance!!
有任何想法吗?提前谢谢了!!
EDIT: For additional clarity
编辑:为了更清晰
1 个解决方案
#1
1
If you have Visual Studio Ultimate, you can use IntelliTrace. Alternatively, you can try Runtime Flow, but it can't work at the same time with VS debugger.
如果您有Visual Studio Ultimate,则可以使用IntelliTrace。或者,您可以尝试运行流程,但它不能与VS调试器同时工作。
#1
1
If you have Visual Studio Ultimate, you can use IntelliTrace. Alternatively, you can try Runtime Flow, but it can't work at the same time with VS debugger.
如果您有Visual Studio Ultimate,则可以使用IntelliTrace。或者,您可以尝试运行流程,但它不能与VS调试器同时工作。