Simple usage question re: performance profiler with VS2008
-
2012년 8월 8일 수요일 오후 2:36
Hi,
This is a very simple question but I can't use the profiler without answering it.
I am trying to use the VS2008 profiler after following these directions from the profiler team blog:
certain environment variables had to be set using vsperfclrenv.cmd. An example profiling session might look like this:- vsperfclrenv /sampleon
- [Start managed application from the same command window]
- vsperfcmd /start:sample /output:myapp.vsp /attach:[pid]
- [Close application]
My problem is that when I run my application in this mode, something happens at the bottom of the screen that hides the buttons I need to use to actually run the section I am profiling. This happens only when starting the application in this mode. What can I do to fix this so that I can actually use the profiler properly?
Note that I did use the profiler yesterday without doing the steps above; I just ran the application binary normally, there was no issue with the buttons and I did get some sort of report, however, the report said that managed binaries would not resolve because I was running without setting the environment variables.
Please help so I can benefit from this seemingly very useful tool!
Thanks.Elizabeth Connolly
모든 응답
-
2012년 8월 9일 목요일 오전 10:59중재자
Hi Elizabeth,
To make this issue clear, could you share us a screen shot about the issue? Did you get any error message when you profile this application? Maybe you could share us that blog.
This document is about how to profile an application by using command-line tools and sampling to identify performance problems. Maybe it could help.
Best Regards,
Jack Zhai [MSFT]
MSDN Community Support | Feedback to us
- 답변으로 표시됨 ElizabethC 2012년 8월 9일 목요일 오후 12:27

