REL (René) showed me a very interesting link the other day that I think I’ll share (as some of you probably already have guessed, I sometime uses this blogs as a means of remembering great articles/links :-)
Anyway here’s the link, which shows how to maintain debug information (and get information about the exact line of code that caused the exception) while running in release mode (this is really awesome):
http://www.rohland.co.za/index.php/2009/02/11/maintain-debug-information-while-in-release-mode/
http://msdn.microsoft.com/en-us/library/8cw0bt21(VS.80).aspx