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. Sir,Can any Help me ,I want to Know For What Generic Reason Will Applications Developed in VC++ Will Crash?

Sir,Can any Help me ,I want to Know For What Generic Reason Will Applications Developed in VC++ Will Crash?

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorialquestion
4 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.
  • C Offline
    C Offline
    CodeVarma
    wrote on last edited by
    #1

    :)Sir, I am working on VC++ for a simulation project. i want to know for what most of the Reasons Applications developed in VC++ will Crash. and how to find the crash point for that Application i.e; how to get into that particular line of code where my application has crashed.:) Thank you Sir I Belong To The Almighty.

    M Q 2 Replies Last reply
    0
    • C CodeVarma

      :)Sir, I am working on VC++ for a simulation project. i want to know for what most of the Reasons Applications developed in VC++ will Crash. and how to find the crash point for that Application i.e; how to get into that particular line of code where my application has crashed.:) Thank you Sir I Belong To The Almighty.

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

      To find the line whre your application crashes you can find out if you build your app in debug mode. At tis time your system will start your debugger at the line your code crashes. But sometimes application crashes only in release therefore you have to insert some debug messages into your code for example Beep or MessageBox. Most crash's causes of not initialized variables therefore you have to initialize all members with valid values.

      1 Reply Last reply
      0
      • C CodeVarma

        :)Sir, I am working on VC++ for a simulation project. i want to know for what most of the Reasons Applications developed in VC++ will Crash. and how to find the crash point for that Application i.e; how to get into that particular line of code where my application has crashed.:) Thank you Sir I Belong To The Almighty.

        Q Offline
        Q Offline
        QuickDeveloper
        wrote on last edited by
        #3

        E.Satish wrote:

        how to get into that particular line of code where my application has crashed.

        see this link http://www.codeproject.com/debug/mapfile.asp[^] using MAP files you can find the line where the crash occured...the only downside being for large projects MAP file generated will be huge :) "Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"

        S 1 Reply Last reply
        0
        • Q QuickDeveloper

          E.Satish wrote:

          how to get into that particular line of code where my application has crashed.

          see this link http://www.codeproject.com/debug/mapfile.asp[^] using MAP files you can find the line where the crash occured...the only downside being for large projects MAP file generated will be huge :) "Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"

          S Offline
          S Offline
          Stephen Hewitt
          wrote on last edited by
          #4

          Why bother using a MAP file? Just build the application with debug info (not a debug build, a release build with debug info). In fact the first changes I make to every project I make is to turn on .PDB generation for release builds. Steve

          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