本文介绍了Visual Studio探查器不会输出任何数据.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试分析我的应用程序,以了解花费的时间.我正在使用Visual Stdio分析器.我从Visual Studio IDE(带探查器的Lauch)中调用了它.

问题是没有数据产生.这是会话的输出:

Profiler已启动

I am trying to profile my application to see where the time is spent. I am using the Visual Stdio profiler. I invoked it from the Visual Studio IDE (Lauch with profiler).

The problem is no data is produced. Here is the output from the session:

Profiler started

就地安装C:\ Projects \ BuySeasonsIT \ Source \ Brain \ Trunk \ BuyseasonsServices \ Forecast \ OrderHistory \ obj \ Debug \ OrderHistory.dll

Instrumenting C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\Forecast\OrderHistory\obj\Debug\OrderHistory.dll in place

信息VSP3049:小型功能将从仪器中排除.

Info VSP3049: Small functions will be excluded from instrumentation.

Microsoft(R)VSInstr Post-Link Instrumentation 9.0.21022 x86

Microsoft (R) VSInstr Post-Link Instrumentation 9.0.21022 x86

(C)Microsoft Corp.版权所有.

Copyright (C) Microsoft Corp. All rights reserved.

要处理的文件

C:\ Projects \ BuySeasonsIT \ Source \ Brain \ Trunk \ BuyseasonsServices \ Forecast \ OrderHistory \ obj \ Debug \ OrderHistory.dll-> C:\ Projects \ BuySeasonsIT \ Source \ Brain \ Trunk \ BuyseasonsServices \ Forecast \ OrderHistory \ obj \ Debug \ OrderHistory.dll

C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\Forecast\OrderHistory\obj\Debug\OrderHistory.dll --> C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\Forecast\OrderHistory\obj\Debug\OrderHistory.dll

原始文件备份到C:\ Projects \ BuySeasonsIT \ Source \ Brain \ Trunk \ BuyseasonsServices \ Forecast \ OrderHistory \ obj \ Debug \ OrderHistory.dll.orig

Original file backed up to C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\Forecast\OrderHistory\obj\Debug\OrderHistory.dll.orig

已成功检测的文件C:\ Projects \ BuySeasonsIT \ Source \ Brain \ Trunk \ BuyseasonsServices \ Forecast \ OrderHistory \ obj \ Debug \ OrderHistory.dll.

Successfully instrumented file C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\Forecast\OrderHistory\obj\Debug\OrderHistory.dll.

警告VSP2013:对该图像进行插装需要将其作为32位进程运行. CLR标头标志已更新以反映这一点.

Warning VSP2013 : Instrumenting this image requires it to run as a 32-bit process. The CLR header flags have been updated to reflect this.

退出收集文件:C:\ Projects \ BuySeasonsIT \ Source \ Brain \ Trunk \ BuyseasonsServices \ Forecast \ OrderHistory \ Excel080815.vsp

Collection file exited: C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\Forecast\OrderHistory\Excel080815.vsp

分析器已退出

性能报告C:\ Projects \ BuySeasonsIT \ Source \ Brain \ Trunk \ BuyseasonsServices \ Forecast \ OrderHistory \ Excel080815.vsp不包含任何数据.

Performance report C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\Forecast\OrderHistory\Excel080815.vsp contains no data.

无法删除文件:C:\ Projects \ BuySeasonsIT \ Source \ Brain \ Trunk \ BuyseasonsServices \ Forecast \ OrderHistory \ Excel080815.vsp

Failed to delete file: C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\Forecast\OrderHistory\Excel080815.vsp

PRF0025:未收集到数据.

PRF0025: No data was collected.

======================分析完成=====================

如何获取分析数据?

谢谢.

Kevin

===================== Profiling Complete =====================

How can I get profiling data?

Thank you.

Kevin

推荐答案

感谢您的帖子!我建议将您的问题发布到 MSDN 论坛首页> Visual Studio 位于此处: http://social.msdn.microsoft.com/Forums/zh-CN/category/visualstudio .

Thank you for your post!  I would suggest posting your question in one of the MSDN > Forums Home > Visual Studio located here:  http://social.msdn.microsoft.com/Forums/en-US/category/visualstudio.

祝您有美好的一天!


这篇关于Visual Studio探查器不会输出任何数据.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-12 00:28