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. Debug mode VS Release mode

Debug mode VS Release mode

Scheduled Pinned Locked Moved C / C++ / MFC
visual-studiodebuggingquestionannouncement
17 Posts 10 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.
  • N Nelek

    The biggest difference is: Debug is used to have access to your code with breakpoints and so on in order to see if one piece of code is doing what expected. Release have no information. See toxxct's answer

    Regards. -------- 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? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson Rating helpfull answers is nice, but saying thanks can be even nicer.

    modified on Friday, June 13, 2008 4:03 AM

    T Offline
    T Offline
    toxcct
    wrote on last edited by
    #5

    that's it most of the time, but wrong anyway. you can configure the release mode to have debug informations...

    [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

    S N A 3 Replies Last reply
    0
    • T toxcct

      that's it most of the time, but wrong anyway. you can configure the release mode to have debug informations...

      [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

      S Offline
      S Offline
      SandipG
      wrote on last edited by
      #6

      My vote 5!! many people are not aware of this.

      Regards, Sandip.

      1 Reply Last reply
      0
      • T toxcct

        that's it most of the time, but wrong anyway. you can configure the release mode to have debug informations...

        [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

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

        Mmmmm :doh: I didn't know it. Thanks for the info

        Regards. -------- 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? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson Rating helpfull answers is nice, but saying thanks can be even nicer.

        K 1 Reply Last reply
        0
        • N Nelek

          Mmmmm :doh: I didn't know it. Thanks for the info

          Regards. -------- 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? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson Rating helpfull answers is nice, but saying thanks can be even nicer.

          K Offline
          K Offline
          KASR1
          wrote on last edited by
          #8

          Size?

          1 Reply Last reply
          0
          • T toxcct

            that's it most of the time, but wrong anyway. you can configure the release mode to have debug informations...

            [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

            A Offline
            A Offline
            Ahmed Charfeddine
            wrote on last edited by
            #9

            How can it be done toxccct ? ie how can I configure release mode to gave debug infos. ? because even though i understand debug mode is to be prefered in most cases to the realse mode, I am faced with scenario where release mode is a must, and hence losing debugging at the same time.

            Our Philosophy, Mohammed Baqir Al Sadr

            T S C 3 Replies Last reply
            0
            • A Ahmed Charfeddine

              How can it be done toxccct ? ie how can I configure release mode to gave debug infos. ? because even though i understand debug mode is to be prefered in most cases to the realse mode, I am faced with scenario where release mode is a must, and hence losing debugging at the same time.

              Our Philosophy, Mohammed Baqir Al Sadr

              T Offline
              T Offline
              toxcct
              wrote on last edited by
              #10

              you go to your compiler options, and chanck the release mode configuration. I can't say much now, because I don't know which compiler you're using, and I have no visual Studio with me at the moment...

              [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

              1 Reply Last reply
              0
              • A Ahmed Charfeddine

                How can it be done toxccct ? ie how can I configure release mode to gave debug infos. ? because even though i understand debug mode is to be prefered in most cases to the realse mode, I am faced with scenario where release mode is a must, and hence losing debugging at the same time.

                Our Philosophy, Mohammed Baqir Al Sadr

                S Offline
                S Offline
                SandipG
                wrote on last edited by
                #11

                Which VS version are you using. In 6.0 Go to project settings and there is option to generate debug info which is by default unchecked for Release build.

                Regards, Sandip.

                1 Reply Last reply
                0
                • A Ahmed Charfeddine

                  How can it be done toxccct ? ie how can I configure release mode to gave debug infos. ? because even though i understand debug mode is to be prefered in most cases to the realse mode, I am faced with scenario where release mode is a must, and hence losing debugging at the same time.

                  Our Philosophy, Mohammed Baqir Al Sadr

                  C Offline
                  C Offline
                  Cedric Moonen
                  wrote on last edited by
                  #12

                  hINTModuleState wrote:

                  because even though i understand debug mode is to be prefered in most cases to the realse mode

                  That's not the case. Debug mode is not prefered over release mode: they are used in different scenarios. You use the debug mode while developping and debugging your product. Once it is (more or less) stable and you want to distribute it, you have to distribute the release version of it. You are not allowed to distribute a debug version of your program (because it is using debug dll's from microsoft which you can't distribute).

                  Cédric Moonen Software developer
                  Charting control [v1.4]

                  1 Reply Last reply
                  0
                  • C CPallini

                    You haven't Googled for yet, have you [^]? :)

                    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                    B Offline
                    B Offline
                    buntyrolln
                    wrote on last edited by
                    #13

                    why you reply message selecting question button,you may select reply or General radio button!!!!

                    buntyrolln

                    C 1 Reply Last reply
                    0
                    • B buntyrolln

                      why you reply message selecting question button,you may select reply or General radio button!!!!

                      buntyrolln

                      C Offline
                      C Offline
                      CPallini
                      wrote on last edited by
                      #14

                      buntyrolln wrote:

                      why you reply message selecting question button,you may select reply or General radio button!!!!

                      Possibly because I posted a question. You aren't aware of, are you? :-D BTW you forgot the final question mark in your one.

                      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                      B 1 Reply Last reply
                      0
                      • C CPallini

                        buntyrolln wrote:

                        why you reply message selecting question button,you may select reply or General radio button!!!!

                        Possibly because I posted a question. You aren't aware of, are you? :-D BTW you forgot the final question mark in your one.

                        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                        B Offline
                        B Offline
                        buntyrolln
                        wrote on last edited by
                        #15

                        ya but you are asking question to the person who is asking a question,so your question is not the main question. Because of that some confusion arises.

                        buntyrolln

                        C 1 Reply Last reply
                        0
                        • B buntyrolln

                          ya but you are asking question to the person who is asking a question,so your question is not the main question. Because of that some confusion arises.

                          buntyrolln

                          C Offline
                          C Offline
                          CPallini
                          wrote on last edited by
                          #16

                          Don't be confused. Be happy. :-D

                          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                          B 1 Reply Last reply
                          0
                          • C CPallini

                            Don't be confused. Be happy. :-D

                            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                            This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                            B Offline
                            B Offline
                            buntyrolln
                            wrote on last edited by
                            #17

                            Ok leave it man,this discuss is getting longer :-D .

                            buntyrolln

                            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