Simple usage question re: performance profiler with VS2008

Bloqueada Simple usage question re: performance profiler with VS2008

  • miércoles, 08 de agosto de 2012 14: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

Todas las respuestas

  • jueves, 09 de agosto de 2012 10:59
    Moderador
     
     Respondida

    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

    • Marcado como respuesta ElizabethC jueves, 09 de agosto de 2012 12:27
    •