Slashdot Mirror


How Would You Improve Today's Debugging Tools?

redelvis asks: "I recently came across an article by MIT's Media Lab on 'The Debugging Scandal and What to Do About It'. It's a few years old now, but it really got me thinking about how little the debugging process has improved over the last 5,10 or even 30 years. I have developed applications using modern IDE debuggers such as Borland's JBuilder, Microsoft's Visual C++, as well as standard tools like gdb and jdb. Despite the slick graphical interfaces, nice thread stack traces and local variable browsers, I still make sure I have on hand plenty of notepads, graph paper, pens and pencils so I can try to build up a picture of what state the program is in and to help me play detective in pinpointing what is going wrong with my (or other peoples) programs. Do other developers have similar problems? Do they find modern IDEs and debuggers have shortcomings in helping track down bugs? What would make a better debugger? Why do you think so much effort been invested in areas such as advanced modelling tools but so little in improving debugging tools?"

15 of 640 comments (clear)

  1. Perhaps.... by foxtrot · · Score: 5, Funny

    Why do you think so much effort been invested in areas such as advanced modelling tools but so little in improving debugging tools?

    Easy. As anyone who's ever tried to use software knows, nobody uses debugging tools anyway.

    -JDF

    1. Re:Perhaps.... by L.+VeGas · · Score: 4, Funny

      Agreed, this is pointless.

      Anyone that's ever been buggered knows that you can never be debuggered.

      It's like the old joke:
      Q--What's the difference between Madonna and a lightbulb?
      A--You can unscrew a lightbulb.

    2. Re:Perhaps.... by Anonymous Coward · · Score: 1, Funny

      Nothing has improved in debugging hardware and software since Grace Hopper yanked an electrocuted moth from a stuck relay in a UNIVAC 1.

    3. Re:Perhaps.... by Directrix1 · · Score: 2, Funny

      Well, you can always program using predicate calculus and get error free code from the start. Weeee!

      --
      Occam's razor is the blind faith in the natural selection of least resistance and in universal oversimplification. -- EF
  2. Easy solution by stratjakt · · Score: 4, Funny

    Dont debug.

    Eventually someone else will find the bugs and fix them for you at their own expense.

    This is how the Open Source programming model works.

    --
    I don't need no instructions to know how to rock!!!!
  3. what's wrong with debuggers? by Anonymous Coward · · Score: 1, Funny

    No dancing girls!

    Add one or two beautiful dancing girls to every debugger, and they'll sell like hotcakes.

  4. I asked my boss.. by Anonvmous+Coward · · Score: 3, Funny

    ... about Debugging Tools. He felt that engineers should just learn to write software without bugs in it.

  5. I wouldn't let the retards at microsoft by aroundsomewhere · · Score: 1, Funny

    I wouldn't let the retards at microsoft work on any more code for the IDE. Then at least it wouln't get any worse.

  6. one word... by outsider007 · · Score: 4, Funny

    Clippy!

    --
    If you mod me down the terrorists will have won
  7. Re:VB has one of those debuggers by Anonvmous+Coward · · Score: 4, Funny

    "The attitude is easy to explain: VB sucks ass."

    Whoah, I'm glad you showed up! My opinion of VB has completely changed now that you've tuned me in to that little fact. I didn't fully realize the scope of the problem until I realized that my ass would be sucked!

  8. I only need 1 command in a debugger by grmoc · · Score: 3, Funny


    I just need the "why" command..
    =)

  9. Re:Debugger improvements by FattyBoeBatty · · Score: 2, Funny

    "...Program control. More cooperation with the code itself. I'd like the debugger to provide a library against which I can link my code so that the code being debugged can control things like which variables are being watched and which breakpoints are active. I could then easily have breakpoints that are enabled only under certain conditions...."

    You know, that's actually a great idea -- and if you think of the logical continuation of it, it would only be a matter of time before you needed a debugger for your debugging code. How cool would that be!

    -Fatty

  10. And if you don't have somebody around... by dubl-u · · Score: 5, Funny

    If you don't have another programmer handy, try the practice of Rubber Ducking.

    This is where when you are completely stuck, you take a little break. Then you come back, pull a rubber duck out of your drawer, and put it on your desk. Then you turn to it and say, "Rubber duck, here's my problem," and explain your troubles to it, just as you would to a fellow programmer.

    About two thirds of the time I try this, I stop half way through and say, "Aha! That's the problem!" And even if the solution doesn't occur to me, the process of explaining the problem makes me go over it in an orderly way, so that I always think of new places to look.

    1. Re:And if you don't have somebody around... by dubl-u · · Score: 5, Funny

      What if the fellow programmer walks in and catches you talking to a rubber duck? :)

      When you tell him how many problems little Ducky has solved, your main problem is that he will try to steal your duck.

      But if you're really worried about appearances, write Ducky an email about the problem. If by the end of the email you still are mystified, you can always send the email to a colleague.

  11. Powerful debugging software in every MS app by Snafoo · · Score: 3, Funny

    It runs during installation. To activate it, click 'I do not agree' when some incomprehensible gobbledegook called a 'EULA' is shown. A EULA is a kind of bug. Unless you refuse to accept, it will bug you again and again. Don't confuse bugs with viruses, however: Microsoft's debugger can't handle viral licenses, which is why they don't like the GPL. Once activated, the powerful EULA non-acceptance debugging option leaves your system bug-free.

    --
    - undoware.ca