title: Is there a way to measure time between breakpoints without stopping in visual studio?
body: <p>If I put down 2 breakpoints I can measure the time between hitting the breakpoints. This is displayed in the 'Diagnostic Tools' window under the tab 'events'.</p>
  <blockquote>
  <p>When the debugger stops execution at a breakpoint or stepping operation, the elapsed time between the break and the previous breakpoint appears as a tip in the editor window. For more information, see PerfTips: Performance Information at-a-glance while Debugging with Visual Studio.</p>
  </blockquote>
  <p><a href="https://docs.microsoft.com/en-us/visualstudio/profiling/perftips?view=vs-2019#perftips-1" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/visualstudio/profiling/perftips?view=vs-2019#perftips-1</a></p>
  <p>However most of the time I setup the breakpoints to continue executing and show a message in the output instead, like so:</p>
  <p><a href="https://i.stack.imgur.com/NjP01.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NjP01.png" alt="Breakpoint settings" /></a></p>
  <p>The problem is, these don't show up in the 'events' tab and therefore I cannot see the execution time between hitting of the breakpoints:</p>
  <p><a href="https://i.stack.imgur.com/ZefCX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZefCX.png" alt="Diagnostic tools" /></a></p>
  <p>My question comes down to: <strong>Can I get the execution time between breakpoints that continue execution instead of breaking with the visual studio debugger?</strong></p>
  <p>In this particular case I'm working with an external service of sorts, and breaking the application causes issues with accurate measuring of the time and other side effects. The point is, I cannot and prefer not to use a regular breakpoint.</p>
  <p>Please note that I'd like get information about the visual studio debugger and not a separate performance profiling tool or something like that, I'm just wondering if this is possible.</p>