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. couldn't debug?

couldn't debug?

Scheduled Pinned Locked Moved C / C++ / MFC
questiondebugginghelp
15 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.
  • G gentleguy

    thanks, i used release already.do you have another idea, thanks a lot

    gentleguy

    CPalliniC Offline
    CPalliniC Offline
    CPallini
    wrote on last edited by
    #4

    Well, standard settings for the release build prevent the user of breakpoints. Why don't you use breakpoints with the debug build of your project? :)

    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
    [My articles]

    In testa che avete, signor di Ceprano?

    G 1 Reply Last reply
    0
    • CPalliniC CPallini

      Well, standard settings for the release build prevent the user of breakpoints. Why don't you use breakpoints with the debug build of your project? :)

      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
      [My articles]

      G Offline
      G Offline
      gentleguy
      wrote on last edited by
      #5

      i set one breakpoint already.

      gentleguy

      R 1 Reply Last reply
      0
      • G gentleguy

        i set one breakpoint already.

        gentleguy

        R Offline
        R Offline
        Rajesh R Subramanian
        wrote on last edited by
        #6

        You were suggested to "use debug build" and you're replying that you have set a breakpoint.

        Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Microsoft MVP - Visual C++[^]

        CPalliniC 1 Reply Last reply
        0
        • R Rajesh R Subramanian

          You were suggested to "use debug build" and you're replying that you have set a breakpoint.

          Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Microsoft MVP - Visual C++[^]

          CPalliniC Offline
          CPalliniC Offline
          CPallini
          wrote on last edited by
          #7

          Thanks for pointing out. Would you like to become my attorney? :-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
          [My articles]

          In testa che avete, signor di Ceprano?

          R 1 Reply Last reply
          0
          • CPalliniC CPallini

            Thanks for pointing out. Would you like to become my attorney? :-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
            [My articles]

            R Offline
            R Offline
            Rajesh R Subramanian
            wrote on last edited by
            #8

            Yes, I've already set a breakpoint. :laugh:

            Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Microsoft MVP - Visual C++[^]

            CPalliniC T 2 Replies Last reply
            0
            • R Rajesh R Subramanian

              Yes, I've already set a breakpoint. :laugh:

              Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Microsoft MVP - Visual C++[^]

              CPalliniC Offline
              CPalliniC Offline
              CPallini
              wrote on last edited by
              #9

              :-D :laugh: :-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
              [My articles]

              In testa che avete, signor di Ceprano?

              S 1 Reply Last reply
              0
              • CPalliniC CPallini

                :-D :laugh: :-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
                [My articles]

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

                again thread hijack :)

                Regards, Sandip.

                CPalliniC T 2 Replies Last reply
                0
                • S SandipG

                  again thread hijack :)

                  Regards, Sandip.

                  CPalliniC Offline
                  CPalliniC Offline
                  CPallini
                  wrote on last edited by
                  #11

                  Shhhhhhhhhhh! :rolleyes: :-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
                  [My articles]

                  In testa che avete, signor di Ceprano?

                  1 Reply Last reply
                  0
                  • R Rajesh R Subramanian

                    Yes, I've already set a breakpoint. :laugh:

                    Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Microsoft MVP - Visual C++[^]

                    T Offline
                    T Offline
                    ThatsAlok
                    wrote on last edited by
                    #12

                    When!

                    "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
                    Never mind - my own stupidity is the source of every "problem" - Mixture

                    cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/xml>

                    1 Reply Last reply
                    0
                    • G gentleguy

                      dear all my question is after i debug, pc showed me: one or more breakpoints can't be set and have been disabled.execution will be stopped at the beginning of the program. how can i solve this problem. thanks a lot.

                      gentleguy

                      A Offline
                      A Offline
                      Anandi VC
                      wrote on last edited by
                      #13

                      open ur project workspace , Right Click on right top(be sure that no control is present) and click on "Build". From the newly added combobox, select "Win32 Debug".Now go to ur Project Menu->Settings->C/C++ -> Optimizations -> and select "Default" Now go to Link(which is after C/C++) -> and tick "Generate Debug Info" and rebuild ur project! now for debugging , put a break point wherever u need and click F5.

                      1 Reply Last reply
                      0
                      • S SandipG

                        again thread hijack :)

                        Regards, Sandip.

                        T Offline
                        T Offline
                        ThatsAlok
                        wrote on last edited by
                        #14

                        it's seem there lot of Hijacker around!

                        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
                        Never mind - my own stupidity is the source of every "problem" - Mixture

                        cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/xml>

                        1 Reply Last reply
                        0
                        • G gentleguy

                          dear all my question is after i debug, pc showed me: one or more breakpoints can't be set and have been disabled.execution will be stopped at the beginning of the program. how can i solve this problem. thanks a lot.

                          gentleguy

                          S Offline
                          S Offline
                          StevenWalsh
                          wrote on last edited by
                          #15

                          I find this happens a lot when i'm trying to debug code from an older version try rebuidling the project (as mentioned.. debug mode) then attaching the debugger again.

                          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