Alih Nehpets
Alih Nehpets

Reputation: 71

Visual Studio 2012 Performance Profiler attach to a remote process

I am trying to debug performance issues on a Virtual Machine. Is there a way to do this in Visual Studio 2012?

In Debug > Attach To Process you can attach processes from a VM to do debugging. I can't see a similar option on Analyze > Profiler > Attach/Detach option..

Is there any way to enable this? Are there any free similar profiling tools?

note: I can install VS 2012 on the VM, just hoping there's an easier way..

Upvotes: 2

Views: 1253

Answers (2)

Maulik Modi
Maulik Modi

Reputation: 303

Visual Studio allows remote debugging but not remote profiling.

I would install Visual studio standalone profiler X86 or X64 depending on target architecture that comes with visual studio DVD onto virtual machine, run commands to attach Profiler, navigate applicaiton scenario to be debugged, Generate visual studio performance file(VSP or VSPX)(do not forget to pack symbols)

Copy VSP or VSPX file to your DEV PC and find the hot spots!

Credit due where credit deserved: Visual studio 2012 profiling remotely debugged process

Upvotes: 2

vik_78
vik_78

Reputation: 1157

can't check VS2012 but VS2105 has this Debug->Profiler->Performance explorer->Attach

Upvotes: 2

Related Questions