I would like to execute dotTRACE profiler and save snapshot as part of our automatic builds. Is there any way to execute it from command line or some API?
The question was already raised
but I could not find "jetBrains.dottrace.exe", only "dottrace.exe" and it does not work from command line.
We're using dottrace version 4.0
Thanks in advance
Is command line support (or a relese of 5.0 EAP http://confluence.jetbrains.net/display/NetProf/EAP) scheduled for any time soon?
I'm not Ivan, but command line will be included in the nearest release, though it's not in EAP yet. I can notify you when a build with command line support appears, if you wish.
Thanks, I'd appreciate any updates.
Do you know when is the new release due?
Sent from my Motorola Star-Tac
From: Asia Rudenko
Sent: 2/29/2012 15:08
To: Meidan Alon
Subject: Tracker: dotTrace Continuous integration with dotTRACE
A new message was posted in the thread "Continuous integration with dotTRACE":
Author : Asia Rudenko (Asia.Rudenko)
Hi Alec, Meidan is right, here's the same link, but clickable: http://blogs.jetbrains.com/dotnet/2012/09/profiling-from-the-command-line-using-dottrace-performance/
I looked there and posted a comment because the instructions did not seem complete and I suspect it's not fully automatable.
/showcontroller: Open the profile controller dialog where you can start/stop profiling, capture snapshots, and detach/kill the profiled process.
This part doesn’t look like something that can run on a build server and I can’t find any documentation reference on the command line.
How can the following situations be handled completely with the command line with no user intervention.
IIS is running multiple app pools so the PID of the specific w3wp must be passed in to collect data on the right one. I want to start a capture, collect data for a minute, and then stop and save a snapshot.
What if I want to use the new feature to attach to a running process?
/showcontroller option doesn't mean you can't profile without it. It was added in case someone wants to launch profiling from command line, but then deal with UI.
About attach: unfortunately I don't think it's possible now - because of PIDs, same as you mention about IIS.
But - about IIS: you can use profile it with ".NET Process" mode.
It seems like this is almost there and just a little more work would make this feature very usable and powerful. Any chance on it getting some more attention for a future version?