简体   繁体   English

是否可以将ANTS Performance Profiler附加到已经运行的IISExpress进程上?

[英]Is it possible to attached an ANTS Performance Profiler to an already running IISExpress process?

I'm trying to figure out how to attach an ANTS profiler to an already running IISExpress instance. 我试图弄清楚如何将ANTS探查器附加到已经运行的IISExpress实例上。

When I try to manually do that, it keeps saying that the port is already in use, which of course is obvious. 当我尝试手动执行此操作时,总是说该端口已在使用中,这当然是显而易见的。 But why is ANTS trying to start up a new instance when I just said attach ? 但是当我刚才说attach时,为什么ANTS尝试启动一个实例?

Why do I want to do this? 我为什么要这样做? Because my start up is slow and yes, I know one can just highlight the area in the timeline that I care about, but I'm curious if this is possible none-the-less. 因为我的启动很慢,是的,所以我知道人们可以在我关注的时间轴上突出显示该区域,但是我很好奇这是否仍然可行。

You should be able to connect to IIS Express the same as any other process. 您应该能够像连接其他任何进程一样连接到IIS Express。 Redgate's has a guide to setting it up here . Redgate的指南在此处进行设置。

All you should need to do is click the tab on the left that says "Attach to .NET 4 process", and pick out iisexpress.exe from the list. 您所需要做的就是单击左侧的标签为“附加到.NET 4进程”,然后从列表中选择iisexpress.exe

It's not possible to add instrumentation to a process that's already been started, so you lose a lot of precision this way, as well as the ability to tie profiling data to individual requests. 不可能在已经启动的流程中添加工具,因此您将失去很多精度,并且无法将概要分析数据绑定到单个请求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ANTS Memory Profiler-我应该查看哪个内存? - ANTS Memory Profiler - Which memory should I be looking at? 如何解释ANTS Memory Profiler的结果? - How do I interpret the results of the ANTS Memory Profiler? Ants Profiler:如何优化在“装配体加载或卸载”中花费的时间 - Ants Profiler: How to optimize time spend in “Assembly load or unload” 使用ANTS Memory Profiler在ASP.NET网站中查找内存泄漏? - Finding memory leak in ASP.NET website with ANTS Memory Profiler? ID 为#### 的进程未运行。 output 说:“程序 '[4560] iisexpress.exe' 已退出,代码为 0 (0x0)。” - Process with an ID of #### is not running. output says: “The program '[4560] iisexpress.exe' has exited with code 0 (0x0).” Visual Studio 2012:无法附加进程。 已附加调试器 - Visual Studio 2012: Unable to attach the process. A debugger is already attached 通过本地网络访问在IISExpress上运行的WebAPI - Access WebAPI running on IISExpress over local network 使用Red-Gate Ants Profiler 6.3对ASP.NET网站进行性能分析 - Profiling ASP.NET site with Red-Gate Ants Profiler 6.3 使用Visual Studio在IISExpress上运行网站时出现错误500.21 - Error 500.21 when running site on IISExpress using visual studio IISExpress 找不到使用 Visual Studio 2013 运行本地主机的 ssl 页面 - IISExpress cannot find ssl page running localhost with Visual Studio 2013
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM