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. Difference between debug and release builds

Difference between debug and release builds

Scheduled Pinned Locked Moved C / C++ / MFC
debuggingannouncement
7 Posts 7 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.
  • B Offline
    B Offline
    bhogavalli suresh
    wrote on last edited by
    #1

    plz tel the Difference between debug and release builds.

    C N J C H 5 Replies Last reply
    0
    • B bhogavalli suresh

      plz tel the Difference between debug and release builds.

      C Offline
      C Offline
      chandu004
      wrote on last edited by
      #2

      the basic difference is the debug information will be embedded in the exe in debug build which is not possible in release build.is it suficient or are u looking for anything else.

      1 Reply Last reply
      0
      • B bhogavalli suresh

        plz tel the Difference between debug and release builds.

        N Offline
        N Offline
        Nelek
        wrote on last edited by
        #3

        Another difference is that debug mode can maybe work perfectly, but same code in release may crush in hundreds of places. Debug assumes some things when nothing is said, or automatically correct some errors of intialization. Release executes ONLY what the programmer has written. If it is not correctly written will crush.

        Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

        1 Reply Last reply
        0
        • B bhogavalli suresh

          plz tel the Difference between debug and release builds.

          J Offline
          J Offline
          Jonathan Darka
          wrote on last edited by
          #4

          Read this. Also, there is an artice on the CodeProject I think but I can't remember its name.


          Jonathan Wilkes Darka[Xanya.net]

          C 1 Reply Last reply
          0
          • B bhogavalli suresh

            plz tel the Difference between debug and release builds.

            C Offline
            C Offline
            carrivick
            wrote on last edited by
            #5

            Speed is the main difference a debug build will by default have no optimisation, this makes it easier to debug. But you can debug a release build it is just a little harder.

            1 Reply Last reply
            0
            • B bhogavalli suresh

              plz tel the Difference between debug and release builds.

              H Offline
              H Offline
              Hamid Taebi
              wrote on last edited by
              #6

              See Debugging Release Mode Problems[^].

              1 Reply Last reply
              0
              • J Jonathan Darka

                Read this. Also, there is an artice on the CodeProject I think but I can't remember its name.


                Jonathan Wilkes Darka[Xanya.net]

                C Offline
                C Offline
                Chris Losinger
                wrote on last edited by
                #7

                it's called Surviving The Release Version.

                image processing toolkits | batch image processing

                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