geoff swartz
geoff swartz

Reputation: 23

publishing debug versions of asp.net dlls

I'm a little confused about using release vs. debug versions of a dll for a live site. We have code written so that when the site experiences an uncaught exception it runs through the exception and any inner exception and emails us the details. I've read that it's best for performance to only use release version dlls but I wondered if we went that route, would that still allow us to inspect the exceptions and get line numbers and so forth about where the error occurred? Or do we have to have the debug version out there to get that information? Thanks.

Upvotes: 2

Views: 76

Answers (1)

Daniel Dyson
Daniel Dyson

Reputation: 13230

You don't need the debug version of the DLLs deployed to your servers. If you deploy a release version of the dlls along with the pdb files, your exceptions should still contain line numbers.

See here

Upvotes: 1

Related Questions