Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Help me: need strategy for CrashLogs

Help me: need strategy for CrashLogs

Scheduled Pinned Locked Moved C / C++ / MFC
helpcsharpc++comquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Peter Weyzen
    wrote on last edited by
    #1

    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)

    M C 2 Replies Last reply
    0
    • P Peter Weyzen

      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)

      M Offline
      M Offline
      Michael P Butler
      wrote on last edited by
      #2

      Worth a read http://www.codeproject.com/debug/postmortemdebug_standalone1.asp?target=minidump[^] Michael 'Logic, my dear Zoe, merely enables one to be wrong with authority.' - The Doctor: The Wheel in Space

      P 1 Reply Last reply
      0
      • M Michael P Butler

        Worth a read http://www.codeproject.com/debug/postmortemdebug_standalone1.asp?target=minidump[^] Michael 'Logic, my dear Zoe, merely enables one to be wrong with authority.' - The Doctor: The Wheel in Space

        P Offline
        P Offline
        Peter Molnar
        wrote on last edited by
        #3

        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...

        1 Reply Last reply
        0
        • P Peter Weyzen

          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)

          C Offline
          C Offline
          Ceri
          wrote on last edited by
          #4

          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

          P 1 Reply Last reply
          0
          • C 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

            P Offline
            P Offline
            Peter Weyzen
            wrote on last edited by
            #5

            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)

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups