I am trying to debug a C # /. NET program in Visual Studio 2010, but it is time sensitive, so breakpoints ruin it. Therefore, I just want to register certain events and their relative time and watch them as my program.
Does Visual Studio (or C # or .Net) have the ability to write to a log file that Visual Studio can display as a debug window?
When I'm developing Android in Eclipse, I can use their log class and insert lines that look like this in my code:
Log.d("Label1", "Hit checkpoint X");
And they will appear along with the time and date stamps in the LogCat window, which is displayed along with other windows in Eclipse.
What is closest to this in Visual Studio 2010?
c # visual-studio
user316117
source share