DotTrace (running) on Linux
I'm struggling to find information about running dottrace with Rider on linux. A lot of sites talk about attaching to linux processes, but it's not clear to me if dottrace/rider is running on linux or connecting from windows.
Is it possible to profile unit tests and generate a report in Rider, running on linux, or is there only the commandline capture tool available (https://www.jetbrains.com/help/profiler/Performance_Profiling__Profiling_Using_the_Command_Line.html#console_profiler)
I don't mind resorting to the commandline to do the profiling capture if I have to, but I can only find information about getting the report generated on Windows.
Please sign in to leave a comment.
Hello,
Thank you for contacting us.
This is the documentation about dotTrace in Rider: https://www.jetbrains.com/help/rider/Profiling_Applications.html
There is the section how to profile Unit tests: https://www.jetbrains.com/help/rider/Profiling_Unit_Tests.html
You can download Rider for Linux from here: https://www.jetbrains.com/rider/download/#section=linux
Thanks, that's the documentation I've already read.
In my Linux Rider, I don't have the same menu items that your documentation has.
Right-clicking on a unit test doesn't show a "Profile Selected Tests" or anything like it.
Clicking on the Run/Debug configurations doesn't show a "Profile" section at all, or any "Profile with" menu.
Please see the image at https://photos.app.goo.gl/C3PXwfKUpwWb7cpL6 and compare with your screenshot at https://www.jetbrains.com/help/rider/Profiling_Applications.html
dotTrace is only licensed as part of the dotUltimate or the All Products Pack.
Do you have one of these license?
If you do, please check that dotTrace plugin bundled into the Rider. (File -> Settings -> Plugins -> Switch Installed tab -> Enter dotTrace into the search field.)
Is dotTrace plugin bundled?
Yes, I'm fully licenced. Thanks for the plug-in idea, I'll check that tomorrow.
That was exactly it! The plugin was installed but disabled, I'm not sure why. Thanks for the help!