title: How to debug Nunit test with VS 2010 sp1?
body: <pre><code>namespace MoqSample.Test
  {
      [TestFixture]
      public class GivenCustomerServiceTest
      {
          private ICustomerService customerService;
          private CustomerModel customer;
          // Defining the mock object.
          private Mock&lt;ICustomerRepository> mockCustomerRepository;
  
          [SetUp]
          public void SetUp()
          {
              //Creating the mock object.
              mockCustomerRepository = new Mock&lt;ICustomerRepository>();
              customerService = new CustomerService(mockCustomerRepository.Object);
          }
  
          [Test]
          public void GetCustomerByIdTest()
          {
              customer = new CustomerModel { Id = 1, Name = "TEST-CUSTOMER", Address = "abc" };
              mockCustomerRepository.Setup(customerRepository => customerRepository.GetCustomerById(1)).Returns(customer);
  
              var customerReturned = customerService.GetCustomerById(1);
  
              //Verifying values.
              Assert.AreEqual(customer.Id, customerReturned.Id);
              Assert.AreEqual(customer.Name, customerReturned.Name);
              Assert.AreEqual(customer.Address, customerReturned.Address);
          }
      }
  }</code></pre>
  
  <p>When I am trying to debug the code in aforementioned class , it's not hitting the break point.
  I.e I am unable to debug the code.
  Any suggestions are welcome.   </p>