Questions tagged [vsperfmon]
10 questions
6
votes
0 answers
Missing vsperf.exe in Visual Studio 2019
Until Visual Studio 2017, there is vsperf.exe.
From Visual Studio 2019, even if I turned on the check box "C++ Profiling Tools" at Visual Studio 2019 Installer ("1" below), but there is no vsperf.exe.
Is vsperf.exe deprecated? If it is, what is…

Hyunjik Bae
- 2,721
- 2
- 22
- 32
5
votes
1 answer
can't start visual studio profiler
I have VS 2010 Ultimate. I have created empty win32 console solution and replaced it's cpp file with http://pastebin.com/EQJKJK6T I tried to perform CPU Sampling profiling. But for some reason I get the following messages
MessageBox:
Could not…

michael nesterenko
- 14,222
- 25
- 114
- 182
2
votes
1 answer
Using Powershell to Automate VSPerfCmd.exe (Visual Studio Performance Profiling)
Because this question is an attempt at troubleshooting a larger effort on my part I have included significant background and investigation history in the post below. As such, I have broken the post into 3 sections: "Background", "Investigation So…

Daniel King
- 224
- 1
- 10
1
vote
1 answer
Why does vsperfmon tell me the called function's inclusive time is taking longer then the root function's?
So I've been experimenting with vsperfmon through the vsperfreport/vsperfcmd command line tools with VS 2010. I've constructed a really simple program to profile and try to understand the numbers these tools output:
void DoStuff()
{
double res =…

Doug T.
- 64,223
- 27
- 138
- 202
1
vote
1 answer
Why cant I profile using vsperfmon by attaching to dllhost.exe?
I have a native C++ project that uses COM to communicate with a separate project in VB.NET. I have been able to successfully profile the native project in the past by attaching the project to a separate exe that references the native dll. I'm now…

John
- 1,167
- 1
- 16
- 33
1
vote
1 answer
Error VSP1737: File could not be opened due to sharing violation
I am getting below error in the Visual Studio 2013 Ultimate when running performance and diagnostics session with Team Foundation Server (TFS). Below are the steps to reproduce:
Get latest from Team Foundation Server.
Create new Performance Session…

Kashif Khan
- 685
- 2
- 11
- 30
0
votes
1 answer
Using vsperfmon to get code coverage for a REST service running in IIS
I am trying to get code coverage metrics for an ASP.NET REST service (that uses a global.asax file) running in IIS. I have followed the following basic steps:
Set environment variable using "VSPerfClrEnv /globaltraceon" (then reboot computer) (I…

mikec2001
- 11
- 2
0
votes
1 answer
VSIntr no data is collected
I am trying to instrument our application looking for performance optimizations, but I cannot manage to get any data out of it. I am mainly interested in function running times and how many times where they were called.
Can you point to the flaw in…

Milan Gulyas
- 632
- 8
- 18
0
votes
1 answer
How can I gather code coverage data from programs outside of my testing solution?
I am attempting to gather code coverage data for my automated tests. However, the testing framework we built is not a part of the same solution as our product and our tests have no direct references to our product's code.
Because of this, I am…

Mystagogue
- 343
- 1
- 3
- 8
0
votes
1 answer
VSPerf VS2010 and other profiling tools not picking up pdb
trying to profile with VSPerfCmd (VS2010 profiler), and also with Intel VTune Amplifier XE 2013: some results are available, for VsPerfCmd in .vsp file. However, profier is not picking up pdb. no code is available for some parts of the…

kiriloff
- 25,609
- 37
- 148
- 229