profilingrider

Performance profiling during debug in Rider


Im starting to use Jetbrains IDE Rider and I want to use the performance profiling during debugging.

Basically I want to run in debug mode, set a breakpoint, start profiling, continue execution until next breakpoint and create a snapshot from that.

Is this possible?


Solution

  • To manually controll when the profiling starts and ends you can disable checkbox Collect profiling data from start in Run/Switch Profiling Configurations/Edit Configurations/ Profiling Configurations. enter image description here

    Once you have reached your breakpoint, click Start Recording. After you are done click Get Snapshot

    Here is a detailed guide from JetBrains