I'm looking for an library/tool for .NET that logs almost everything that happens in my C# application (Windows Form).
The problem is that I'm delivering an application to a client (Windows XP) and after doing some task, that classic Microsoft error window appears:
"ApplicationName has encountered a problem and needs to close. We are sorry for the inconvenience"
I'm currently handling my application exceptions, but this is something external and I can't get anything from that error, so I would like any automated library that helps me with that.
It would work if it logs each line of code executed, orr just log what line was executing before that error appeared, or something that could give me more info about that error.
P.S: It's a multithreaded application, and have to Timer controls (one for watching a folder every 5secs, and another for watching thread list...). I'm using Windows 7 here and everything seems to work ok.