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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Debugging release versions with dumps

Debugging release versions with dumps

Scheduled Pinned Locked Moved C / C++ / MFC
announcementdebuggingquestion
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.
  • L Offline
    L Offline
    LasVegasGuy
    wrote on last edited by
    #1

    Are dump files the only way to debug what happened in release version crashes? Man Learns from History that he never learns from History

    M RaviBeeR 2 Replies Last reply
    0
    • L LasVegasGuy

      Are dump files the only way to debug what happened in release version crashes? Man Learns from History that he never learns from History

      M Offline
      M Offline
      Mukkie
      wrote on last edited by
      #2

      Hello! No. You can: 1) debug assembler code (hard thing) 2) use map files (rather easy thing - I have seen somewhere article on that here, on codetools) 3) use horror debugging - call messageboxes everywhere 4) use logging into file, or to some other process 5) turn off optimisation :)

      1 Reply Last reply
      0
      • L LasVegasGuy

        Are dump files the only way to debug what happened in release version crashes? Man Learns from History that he never learns from History

        RaviBeeR Offline
        RaviBeeR Offline
        RaviBee
        wrote on last edited by
        #3

        If you don't mind releasing your app's symbols along with .exe, you can use PJN's excellent CExceptionLogger[^] class to generate a human readable log (customizable) that includes the source file and line number where the crash occured. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com

        N 1 Reply Last reply
        0
        • RaviBeeR RaviBee

          If you don't mind releasing your app's symbols along with .exe, you can use PJN's excellent CExceptionLogger[^] class to generate a human readable log (customizable) that includes the source file and line number where the crash occured. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com

          N Offline
          N Offline
          Neville Franks
          wrote on last edited by
          #4

          Hi Ravi, Hadn't seen this code from PJN, thanks for pointing it out. He has contributed lots of nice and usefull code. As an aside you might be interested in my new app Surfulater (see sig).:cool: See the download page to get the beta. Neville Franks, Author of ED for Windows www.getsoft.com and coming soon: Surfulater www.surfulater.com

          RaviBeeR 1 Reply Last reply
          0
          • N Neville Franks

            Hi Ravi, Hadn't seen this code from PJN, thanks for pointing it out. He has contributed lots of nice and usefull code. As an aside you might be interested in my new app Surfulater (see sig).:cool: See the download page to get the beta. Neville Franks, Author of ED for Windows www.getsoft.com and coming soon: Surfulater www.surfulater.com

            RaviBeeR Offline
            RaviBeeR Offline
            RaviBee
            wrote on last edited by
            #5

            Surfulater looks very interesting, Neville! Good luck with it! /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.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