Does anyone know if you can get the time interval between break points in VS 2008? Plugin?, VS trick?
I DON'T want to add code to my existing source code to figure out how long something takes to run, I would like a quick and dirty way to get this while debugging. For you smart asses out there I know I can always whip out a stopwatch too, but I want something that is somewhat precise as well.
If milliseconds then in Visual Studio 2019 you can see the time between two breakpoints under Diagnostic Tools -> Events -> Duration (opens automatically in Debug mode, or use Ctrl + Alt + F2 ).
You can press F5 while debugging to jump to next breakpoint and F10 to jump line by line.
Run and Debug view# To bring up the Run and Debug view, select the Run and Debug icon in the Activity Bar on the side of VS Code. You can also use the keyboard shortcut Ctrl+Shift+D.
You could use a Tracepoint - which, when hit, will output what you entered to the console window:
alt text http://img24.imageshack.us/img24/3866/51292677.png
Then you can subtract the latter from the former to get the time between the two.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With