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. Is there any library which can detect the faulty statement at runtime?

Is there any library which can detect the faulty statement at runtime?

Scheduled Pinned Locked Moved C / C++ / MFC
questionannouncement
4 Posts 3 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.
  • R Offline
    R Offline
    rahul kulshreshtha
    wrote on last edited by
    #1

    Sometimes my application hangs or freezes for few seconds. After sometime it again comes back to normal. Is there any library which can either dump some useful information or detect faulty statements either in debugging or release state?

    M R 2 Replies Last reply
    0
    • R rahul kulshreshtha

      Sometimes my application hangs or freezes for few seconds. After sometime it again comes back to normal. Is there any library which can either dump some useful information or detect faulty statements either in debugging or release state?

      M Offline
      M Offline
      Madhu Nair 0
      wrote on last edited by
      #2

      Yes - the MiniDumpWriteDump[^] function.

      R 1 Reply Last reply
      0
      • M Madhu Nair 0

        Yes - the MiniDumpWriteDump[^] function.

        R Offline
        R Offline
        rahul kulshreshtha
        wrote on last edited by
        #3

        I read the detail about MiniDumpWriteDump function. I have a query. Does it make the dump while an exception occurs & application crashes or Can it make the dump while an application freezes or hangs but does not raise an exception? Hang might be a deadlock situation or infinite loop etc

        1 Reply Last reply
        0
        • R rahul kulshreshtha

          Sometimes my application hangs or freezes for few seconds. After sometime it again comes back to normal. Is there any library which can either dump some useful information or detect faulty statements either in debugging or release state?

          R Offline
          R Offline
          Rolf Kristensen
          wrote on last edited by
          #4

          ProcDump[^] is an excellent tool for monitoring an application and generating stack dumps whenever something is wrong.

          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