Help me: need strategy for CrashLogs
-
or: is it a bug? We develop with .net 2003 & develop services. Services run a long time, and occasionally crash. We are having a heck of a time getting DrWatson to work for us. He was our friend, before we moved onto C++ .NET2003 but seems not to like us anymore. Anyhow, we're clueless on the matter. I'd like to know your strategy for dealing with an application that needs to be up and running all the time, and when it crashes we need to record it and restart it. Anyhow, once we started to use .net/2003 we lost this. We never used the first .net either. We need to automagically record dump files and be able to interpret later. Help! Thanks in advance. P.S. Ship day in 2 days. :)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Peter Weyzen Staff Engineer [Santa Cruz Networks](http://www.santacruznetworks.com)
-
or: is it a bug? We develop with .net 2003 & develop services. Services run a long time, and occasionally crash. We are having a heck of a time getting DrWatson to work for us. He was our friend, before we moved onto C++ .NET2003 but seems not to like us anymore. Anyhow, we're clueless on the matter. I'd like to know your strategy for dealing with an application that needs to be up and running all the time, and when it crashes we need to record it and restart it. Anyhow, once we started to use .net/2003 we lost this. We never used the first .net either. We need to automagically record dump files and be able to interpret later. Help! Thanks in advance. P.S. Ship day in 2 days. :)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Peter Weyzen Staff Engineer [Santa Cruz Networks](http://www.santacruznetworks.com)
-
worth a read, too: http://www.codeproject.com/tools/leakfinder.asp[^] If you have 2 days until release then with this tool you will have at least 1.8 days of free time. Instead of exception problems you could as well go into a pub...
-
or: is it a bug? We develop with .net 2003 & develop services. Services run a long time, and occasionally crash. We are having a heck of a time getting DrWatson to work for us. He was our friend, before we moved onto C++ .NET2003 but seems not to like us anymore. Anyhow, we're clueless on the matter. I'd like to know your strategy for dealing with an application that needs to be up and running all the time, and when it crashes we need to record it and restart it. Anyhow, once we started to use .net/2003 we lost this. We never used the first .net either. We need to automagically record dump files and be able to interpret later. Help! Thanks in advance. P.S. Ship day in 2 days. :)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Peter Weyzen Staff Engineer [Santa Cruz Networks](http://www.santacruznetworks.com)
Hi, In this situation I would use the SetUnhandledExceptionFilter API to set up an exception filter and then within your exception filter function you can use MiniDumpWriteDump to write a dump of your problem service. You can then open the mdmp file up in VS.NET press F5 and you will be at the point where your program crashed. Hope this helps Ceri
-
Hi, In this situation I would use the SetUnhandledExceptionFilter API to set up an exception filter and then within your exception filter function you can use MiniDumpWriteDump to write a dump of your problem service. You can then open the mdmp file up in VS.NET press F5 and you will be at the point where your program crashed. Hope this helps Ceri
Hey y'all.... Thanks for the info. We ended up going for the auto-minidump thingy. We like this since it doesn't matter whether DrWatson is installed.... Anyhow, thanks, 2 days to ship, and we've got one more weapon for finding crashes! Thanks. P.S. If you wanna beta test our stuff -- High-class audio/video/text/appsharing from a windows client -- come visit our beta site www.videomonkeys.com[^]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Peter Weyzen Staff Engineer [Santa Cruz Networks](http://www.santacruznetworks.com)