I have inherited a massive C# application, server (a windows service) and client (windows desktop application).
It's deployed at a variety of customer locations.
I have a list of customer issues and bugs to address, but the logging in the application is woefully inadequate.
A couple of times I've taken to adding new lines of logging in the code, rebuilding the code, sending the customer the new DLLs and asking them to install them manually, but this is a very kludgey way to debugging customer problems.
Is there a way to just tell the VM (the dot net runtime engine) to produce a log file of what objects were instantiated, and which methods were entered and exited ... maybe even line numbers of lines of code that were executed?
That sort of thing would help me incredibly.