visual studio tip - tracepoint
Today is a short post with a Visual Studio feature that can come in really handle when debugging code. I’m sure you have used Breakpoints many times in Visual Studio
Tracepoints are somewhat similar but also different. To create one right click on the left side of your Visual Studio window (where you would usually left click to create a breakpoint).
That will give you a window like below.
Then when you run your application you will see a line in the Output window everytime the tracepoint is hit.
This example may be a bit simple, but if you can imagine an application where you are debugging various keyboard input for example this feature can make it very easy to see what is happening with out needing to stop program execution to inspect variables.