Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/295.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# Visual Studio 2010最终探查器引发异常_C#_Winforms_Visual Studio 2010 - Fatal编程技术网

C# Visual Studio 2010最终探查器引发异常

C# Visual Studio 2010最终探查器引发异常,c#,winforms,visual-studio-2010,C#,Winforms,Visual Studio 2010,当我们通过VisualStudio2010探查器评测EXE时,它会在结尾抛出消息,并且不会生成任何性能报告 Profiling started. Profiling process ID 21860 (M3 Shell). Process ID 21860 has exited. Data written to M:\Documents and Settings\Sunil.Naudiyal\My Documents\Visual Studio 2010\Projec

当我们通过VisualStudio2010探查器评测EXE时,它会在结尾抛出消息,并且不会生成任何性能报告

  Profiling started.
    Profiling process ID 21860 (M3 Shell).
    Process ID 21860 has exited.
    Data written to M:\Documents and Settings\Sunil.Naudiyal\My Documents\Visual Studio 2010\Projects\M3 Shell131118.vsp.
    Profiling finished.
    PRF0025: No data was collected.
    Profiling complete.
我遵循的步骤

Go to tab Analyze>>Lunch Performance Wizard>>CPU Sampling>>Next>>An Executable file(.exe)>>Next>select path to the executable file>>Finish

我是Visual Studio profiler团队的Andre。你在用什么操作系统?采样以特定频率收集周期堆栈。您的应用程序可能运行得太快,以至于在连接VisualStudio时,您的进程已经停止。如果是这种情况,那么插装可能是一个更好的解决方案(但是插装具有较高的开销,并且已知仅在几秒钟内生成千兆字节的数据)。如果您在使用指令插入方面需要帮助,请告诉我程序运行了多长时间?如果这只花了不到几秒钟的时间,那么它就太快退出了。如果这是故意的,那么您需要切换到检测模式。它是ms windows server 2003R2。实际上。我想在它使用.net profiler运行时获取Exe代码。它可能吗?当我尝试此操作时,它会给我上述异常消息。