We serialize the exception save it in a database and send emails to the developers, but as Sven said sometimes that is not enough, is there a way to capture the Locals and saves those too? Otherwise we end up on the test server trying to repro the bub.
As far as I can tell, there's no easy way to capture all the locals. You either end up adding a lot of plumbing to every method, or you have to do a Dr. Watson style memory dump and try to debug that. If anyone knows a better way, I'd like to know it too.