PRF0025:未收集数据 [英] PRF0025: No Data was collected

查看:207
本文介绍了PRF0025:未收集数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 当我开始分析.NET内存分配(采样)时,我正面临这个问题。

 I am facing this issue when i start profiling of .NET memory allocation (sampling).

我搜索了此问题的解决方案,并整合了论坛中提供的所有解决方案。  ,我仍然得到相同的错误

I searched solution for this issue and incorporated all the solutions available in forums.  , still i am getting the same error

项目详细信息:

项目类型是vc ++ MDI应用程序并使用visual studio 2010创建

Project type is vc++ MDI application and created using visual studio 2010

请帮我解决问题。

谢谢&此致,

Shweta B

推荐答案

Hi Shweta Yadaki,

Hi Shweta Yadaki,

感谢您在此发布。

此问题可能由多个问题引起:

This problem can be caused by several issues:

使用抽样或.NET内存方法启动子进程,该进程成为执行应用程序工作的进程。例如,某些应用程序读取命令行以确定它们是作为Windows应用程序的
还是作为命令行应用程序启动的。如果请求了Windows应用程序,则原始进程将启动配置为Windows应用程序的新进程,然后退出原始进程。由于分析工具不会自动
收集子进程的数据,因此不会收集任何数据。

A process that was profiled by using the sampling or the .NET memory method starts a child process that becomes the process that performs the application work. For example, some applications read the command line to determine whether they were started as a Windows application or as a command-line application. If a Windows application was requested, the original process starts a new process configured as a Windows application and then the original process exits. Because the Profiling Tools do not automatically collect data for child processes, no data is collected.

要在这种情况下收集分析数据,请将分析器附加到子进程而不是使用分析器启动应用程序。有关详细信息,请参阅
如何:附加和分离性能工具以运行进程
附加(VSPerfCmd)

To collect profiling data in this situation, attach the profiler to the child process instead of starting the application with the profiler. For more information, see How to: Attach and Detach Performance Tools to Running Processes and Attach (VSPerfCmd)

有关详细信息,请参阅此文档。

For more information, please refer to this document.

https:/ /msdn.microsoft.com/en-us/library/ee308428.aspx

这里有一个博客。

https://blogs.msdn .microsoft.com / profiler / 2010/01/14 / prf0025-no-data-was-collecting-why-is-that /

希望这可能有助于你好。

Hope this could be help of you.

最好的问候,

Sera Yu

Best Regards,
Sera Yu


这篇关于PRF0025:未收集数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆