Browse by Tags

Tagged Content List
  • Blog Post: Debugging Expression Trees in Visual Studio 2010

    First of all, let’s take a look at the example from one of my previous posts . It creates an expression tree for calculating the factorial of a number. ParameterExpression value = Expression .Parameter( typeof ( int ), "value" ); ParameterExpression result = Expression .Parameter( typeof ( int...
  • Blog Post: How do I send out simple debug messages to help with my debugging?

    Visual Studio offers tons of useful debugging features and allows you to step through your code line-by-line. However, there are times when you don’t want to step through your application, but want to make it output simple text strings with variable values, etc. Enter the System.Diagnostics.Debug...
  • Blog Post: How can I easily log a message to a file for debugging purposes?

    Often, you need a way to monitor your applications once they are running on the server or even at the customer site -- away from your Visual Studio debugger. In those situations, it is often helpful to have a simple routine that you can use to log messages to a text file for later analysis. Here’s...
Page 1 of 1 (3 items)