I'm attempting to debug an ASP.NET application. It's particularly difficult as the bug only occurs in the released code deployed to production. It cannot be reproduced in the development or test environments.
I'd like to investigate further by creating a dump file at a particular line in the code where the problem is happening. However the production environment cannot be taken down at any point due to business requirements. That's also why remote debugging can't be used.
Does anyone know how I can force a dump file to be created for w3wp.exe at a certain point in the managed code, yet still allow the rest of the application to operate normally?