Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 971
Andrio Avatar asked Sep 07 '25 10:09

Andrio


2 Answers

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

like image 103
BlueFox Avatar answered Sep 10 '25 08:09

BlueFox


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 
like image 45
Andrio Avatar answered Sep 10 '25 08:09

Andrio