title: Visual Studio debug log (like logcat in Android)?
body: <p>I'm trying to debug a C#/.Net program in Visual Studio 2010 but it's timing-sensitive so breakpoints mess it up.   So I just want to log certain events and their relative times and watch them as my program is running.</p>
  
  <p>Does Visual Studio (or C# or .Net) have any facility for writing to a log file that Visual Studio can display as a debug window?</p>
  
  <p>When I do Android development in Eclipse I can take advantage of their Log class and insert lines that looks like this in my code:</p>
  
  <pre><code>  Log.d("Label1", "Hit checkpoint X");  
  </code></pre>
  
  <p>And they will appear along with time/date stamps in the LogCat window which is displayed along with other windows in Eclipse.     </p>
  
  <p>What's the closest equivalent to this in Visual Studio 2010?</p>