Using JetBrains Rider, is there a way to see elapsed time when debugging?
Asked Answered
S

2

28

In Visual Studio, you get this when you step over a line while debugging:

enter image description here

I can't seem to find an equivalent in Rider. Is there something like it?

Starve answered 19/11, 2019 at 15:0 Comment(4)
Did you found a solution?Iquique
@Iquique I found somewhere else confirmation that these feature isn't in Rider yet.Starve
Found the feature request here: youtrack.jetbrains.com/issue/RIDER-5116Iquique
2 years and 7 months later and still the same state...Capitally
S
2

As per the comments to my original question, this feature still hasn't been implemented yet

As a workaround, if I really need to know the elapsed time, I've just been using a stop watch.

Example:

var sw = new Stopwatch();
sw.Start();
// Code you care about goes here
sw.Stop();
// Put breakpoint here, then use debugger to look at sw.ElapsedMilliseconds 
Starve answered 12/7, 2022 at 14:39 Comment(0)
D
2

Finally, JetBrains team implemented this feature. U can check release 2024.1 EAP 3 update https://blog.jetbrains.com/dotnet/2024/02/02/rider-2024-1-eap-3/#debugger

Digit answered 15/3 at 16:36 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.