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. The Lounge
  3. Kids these days...

Kids these days...

Scheduled Pinned Locked Moved The Lounge
helpquestionc++databasedebugging
29 Posts 16 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 Rajesh R Subramanian

    On the brighter side, he at least acknowledged that my reply actually helped him to be reminded of the debugger. Strange though... :)

    “Follow your bliss.” – Joseph Campbell

    M Offline
    M Offline
    Michael Schubert
    wrote on last edited by
    #5

    The exception proves the rule. :-D

    1 Reply Last reply
    0
    • S Simon P Stevens

      "Children today are tyrants. They contradict their parents, gobble their food and tyrannize their teachers. I despair for the future." Socrates 400BC

      Simon

      D Offline
      D Offline
      Dalek Dave
      wrote on last edited by
      #6

      I had that as a sig several months ago, and never was a truer word spoken.

      ------------------------------------ In science, 'fact' can only mean 'confirmed to such a degree that it would be perverse to withhold provisional assent.' I suppose that apples might start to rise tomorrow, but the possibility does not merit equal time in physics classrooms. Stephen J Gould

      S 1 Reply Last reply
      0
      • S Simon P Stevens

        "Children today are tyrants. They contradict their parents, gobble their food and tyrannize their teachers. I despair for the future." Socrates 400BC

        Simon

        M Offline
        M Offline
        Michael Schubert
        wrote on last edited by
        #7

        Yeah, 2400 years ago there was still purpose in their actions.

        1 Reply Last reply
        0
        • S Simon P Stevens

          "Children today are tyrants. They contradict their parents, gobble their food and tyrannize their teachers. I despair for the future." Socrates 400BC

          Simon

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

          Simon Stevens wrote:

          "Children today are tyrants. They contradict their parents, gobble their food and tyrannize their teachers. I despair debug for the future."

          FFY. :)

          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]

          1 Reply Last reply
          0
          • R Rajesh R Subramanian

            Someone posted a very vague query on the C++ forum , and mentioned that he didn't know why his app doesn't work, and he has no clue about the failure modes. There was no relevant information in his post (no code either) that I could have used to guess any possible cause of the problem. I was pissed; I asked him use the debugger. And... his problem is solved. His reply: "Finally I got the clue ... Sometimes u even forget that u always have debugger to help you out. Thanks for help." What?! That's it? Solved?! :rolleyes: I think we should include a new point into the guidelines for asking a question: "Please remember that you have a debugger". :laugh:

            “Follow your bliss.” – Joseph Campbell

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #9

            How about a rule that all posts filled with text-speak gibberish are automatically deleted? :mad:

            1 Reply Last reply
            0
            • R Rajesh R Subramanian

              Someone posted a very vague query on the C++ forum , and mentioned that he didn't know why his app doesn't work, and he has no clue about the failure modes. There was no relevant information in his post (no code either) that I could have used to guess any possible cause of the problem. I was pissed; I asked him use the debugger. And... his problem is solved. His reply: "Finally I got the clue ... Sometimes u even forget that u always have debugger to help you out. Thanks for help." What?! That's it? Solved?! :rolleyes: I think we should include a new point into the guidelines for asking a question: "Please remember that you have a debugger". :laugh:

              “Follow your bliss.” – Joseph Campbell

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #10

              Rajesh R Subramanian wrote:

              I think we should include a new point into the guidelines for asking a question: "Please remember that you have a debugger brain cell".

              FTFY

              No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              1 Reply Last reply
              0
              • R Rajesh R Subramanian

                Someone posted a very vague query on the C++ forum , and mentioned that he didn't know why his app doesn't work, and he has no clue about the failure modes. There was no relevant information in his post (no code either) that I could have used to guess any possible cause of the problem. I was pissed; I asked him use the debugger. And... his problem is solved. His reply: "Finally I got the clue ... Sometimes u even forget that u always have debugger to help you out. Thanks for help." What?! That's it? Solved?! :rolleyes: I think we should include a new point into the guidelines for asking a question: "Please remember that you have a debugger". :laugh:

                “Follow your bliss.” – Joseph Campbell

                P Offline
                P Offline
                Pete OHanlon
                wrote on last edited by
                #11

                Debugging seems to be a lost art. Somebody should write an article on effective debugging.

                "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                My blog | My articles | MoXAML PowerToys | Onyx

                C 1 Reply Last reply
                0
                • D Dalek Dave

                  I had that as a sig several months ago, and never was a truer word spoken.

                  ------------------------------------ In science, 'fact' can only mean 'confirmed to such a degree that it would be perverse to withhold provisional assent.' I suppose that apples might start to rise tomorrow, but the possibility does not merit equal time in physics classrooms. Stephen J Gould

                  S Offline
                  S Offline
                  Simon P Stevens
                  wrote on last edited by
                  #12

                  Dalek Dave wrote:

                  I had that as a sig several months ago

                  I suspect that is probably where I got it from.

                  Simon

                  1 Reply Last reply
                  0
                  • R Rajesh R Subramanian

                    Someone posted a very vague query on the C++ forum , and mentioned that he didn't know why his app doesn't work, and he has no clue about the failure modes. There was no relevant information in his post (no code either) that I could have used to guess any possible cause of the problem. I was pissed; I asked him use the debugger. And... his problem is solved. His reply: "Finally I got the clue ... Sometimes u even forget that u always have debugger to help you out. Thanks for help." What?! That's it? Solved?! :rolleyes: I think we should include a new point into the guidelines for asking a question: "Please remember that you have a debugger". :laugh:

                    “Follow your bliss.” – Joseph Campbell

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #13

                    Rajesh R Subramanian wrote:

                    I think we should include a new point into the guidelines

                    We could include lots of things in the guidelines, but it seems that too many people never read them. They just post their question/demand/incomprehensible message*, and expect an instant solution. *nothing to do with language skills, as many posters with very poor English seem to write a clear enough description of their problem. [rant]Even worse is the "plz hlp" text speak that so many people believe is normal usage.[/rant]

                    1 Reply Last reply
                    0
                    • R Rajesh R Subramanian

                      Someone posted a very vague query on the C++ forum , and mentioned that he didn't know why his app doesn't work, and he has no clue about the failure modes. There was no relevant information in his post (no code either) that I could have used to guess any possible cause of the problem. I was pissed; I asked him use the debugger. And... his problem is solved. His reply: "Finally I got the clue ... Sometimes u even forget that u always have debugger to help you out. Thanks for help." What?! That's it? Solved?! :rolleyes: I think we should include a new point into the guidelines for asking a question: "Please remember that you have a debugger". :laugh:

                      “Follow your bliss.” – Joseph Campbell

                      K Offline
                      K Offline
                      kinar
                      wrote on last edited by
                      #14

                      Howto use debuggers in school...they only teach programming. That is "on the job" training...

                      D D 2 Replies Last reply
                      0
                      • K kinar

                        Howto use debuggers in school...they only teach programming. That is "on the job" training...

                        D Offline
                        D Offline
                        Distind
                        wrote on last edited by
                        #15

                        Depends on the school. We got a few 'projects' which consisted of handing the entire class horrifically failed projects and the instructions 'Fix it'. You learned how to debug fairly quickly, or you failed.

                        D K 2 Replies Last reply
                        0
                        • P Pete OHanlon

                          Debugging seems to be a lost art. Somebody should write an article on effective debugging.

                          "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                          As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                          My blog | My articles | MoXAML PowerToys | Onyx

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

                          F5 Fix Repeat


                          Ninja (the Nerd)
                          Confused? You will be...

                          P 1 Reply Last reply
                          0
                          • C codemunkeh

                            F5 Fix Repeat


                            Ninja (the Nerd)
                            Confused? You will be...

                            P Offline
                            P Offline
                            Pete OHanlon
                            wrote on last edited by
                            #17

                            Ninja-the-Nerd wrote:

                            F5 Fix Repeat

                            Not quite. F9 F5 Fix Repeat. There, I've effectively debugged your algorithm ;P

                            "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                            As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                            My blog | My articles | MoXAML PowerToys | Onyx

                            C 1 Reply Last reply
                            0
                            • P Pete OHanlon

                              Ninja-the-Nerd wrote:

                              F5 Fix Repeat

                              Not quite. F9 F5 Fix Repeat. There, I've effectively debugged your algorithm ;P

                              "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                              As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                              My blog | My articles | MoXAML PowerToys | Onyx

                              C Offline
                              C Offline
                              codemunkeh
                              wrote on last edited by
                              #18

                              I use C# in vs08, F7 is my build key and F5 builds automatically anyway. What was that about platform-dependent algorithms?


                              Ninja (the Nerd)
                              Confused? You will be...

                              P 1 Reply Last reply
                              0
                              • D Distind

                                Depends on the school. We got a few 'projects' which consisted of handing the entire class horrifically failed projects and the instructions 'Fix it'. You learned how to debug fairly quickly, or you failed.

                                D Offline
                                D Offline
                                Deflinek
                                wrote on last edited by
                                #19

                                Heh, I just imagined a class, where in the first half of course you debug such faulty projects, then the next half you actually do some programming... ...preparing debug material for next group :laugh:

                                -- "My software never has bugs. It just develops random features."

                                D 1 Reply Last reply
                                0
                                • D Deflinek

                                  Heh, I just imagined a class, where in the first half of course you debug such faulty projects, then the next half you actually do some programming... ...preparing debug material for next group :laugh:

                                  -- "My software never has bugs. It just develops random features."

                                  D Offline
                                  D Offline
                                  Distind
                                  wrote on last edited by
                                  #20

                                  Switch the ordering. After the initial programing courses every CS or SE student at RIT was required to take Software Engineering 1. Then, Software Engineering 2 (required for SE, optional for CS) was fixing the worst Software Engineering 1 projects you could scrounge up. Given that the first course was one of the major points of attrition in both degrees, you could find some amazing crap in the pile. Just to honor a tradition formed in the later class, and a duck.

                                  1 Reply Last reply
                                  0
                                  • C codemunkeh

                                    I use C# in vs08, F7 is my build key and F5 builds automatically anyway. What was that about platform-dependent algorithms?


                                    Ninja (the Nerd)
                                    Confused? You will be...

                                    P Offline
                                    P Offline
                                    Pete OHanlon
                                    wrote on last edited by
                                    #21

                                    F9 is toggle breakpoint. Hence F9, F5, Fix.

                                    "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                                    As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                                    My blog | My articles | MoXAML PowerToys | Onyx

                                    1 Reply Last reply
                                    0
                                    • R Rajesh R Subramanian

                                      Someone posted a very vague query on the C++ forum , and mentioned that he didn't know why his app doesn't work, and he has no clue about the failure modes. There was no relevant information in his post (no code either) that I could have used to guess any possible cause of the problem. I was pissed; I asked him use the debugger. And... his problem is solved. His reply: "Finally I got the clue ... Sometimes u even forget that u always have debugger to help you out. Thanks for help." What?! That's it? Solved?! :rolleyes: I think we should include a new point into the guidelines for asking a question: "Please remember that you have a debugger". :laugh:

                                      “Follow your bliss.” – Joseph Campbell

                                      D Offline
                                      D Offline
                                      David Crow
                                      wrote on last edited by
                                      #22

                                      Rajesh R Subramanian wrote:

                                      I think we should include a new point into the guidelines for asking a question: "Please remember that you have a debugger".

                                      Maybe his code wasn't buggy (e.g., It works but...), but just wasn't producing the correct answer.

                                      "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

                                      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                                      R 1 Reply Last reply
                                      0
                                      • R Rajesh R Subramanian

                                        Someone posted a very vague query on the C++ forum , and mentioned that he didn't know why his app doesn't work, and he has no clue about the failure modes. There was no relevant information in his post (no code either) that I could have used to guess any possible cause of the problem. I was pissed; I asked him use the debugger. And... his problem is solved. His reply: "Finally I got the clue ... Sometimes u even forget that u always have debugger to help you out. Thanks for help." What?! That's it? Solved?! :rolleyes: I think we should include a new point into the guidelines for asking a question: "Please remember that you have a debugger". :laugh:

                                        “Follow your bliss.” – Joseph Campbell

                                        P Offline
                                        P Offline
                                        peterchen
                                        wrote on last edited by
                                        #23

                                        Trying to make this system idiot proof is like writing a FAQ for your dog that says instead of barking, he should ask nicely "May I bite this cyclist, please?"

                                        Personally, I love the idea that Raymond spends his nights posting bad regexs to mailing lists under the pseudonym of Jane Smith. He'd be like a super hero, only more nerdy and less useful. [Trevel]
                                        | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server

                                        R 1 Reply Last reply
                                        0
                                        • D Distind

                                          Depends on the school. We got a few 'projects' which consisted of handing the entire class horrifically failed projects and the instructions 'Fix it'. You learned how to debug fairly quickly, or you failed.

                                          K Offline
                                          K Offline
                                          kinar
                                          wrote on last edited by
                                          #24

                                          teaching howto debug and teaching howto use a debugger are completely different things. I graduated in 2002 with a bachelors and never once had an assignment that involved using a debugger. I had tons of assignments where I had to fix non-working programs or simply figure out why something wasn't working but never once did these require the use of an actual debugger. It made me a far better programmer since I don't have to rely on Visual Studio or gdb (or whatever else) to figure out what stupid thing I've told my program to do. Of course, I certainly use debuggers daily to my advantage now, but I was never "taught" how.

                                          B 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