DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Funny things that happen during debugging  (Read 6,219 times)

wreckedcarzz

  • Still lurking. Still an anthro.
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,629
    • Participated in NANY Challenge Twice
    • Coding Snacks
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Funny things that happen during debugging
« on: January 06, 2009, 02:10 AM »
Alright, I have been making a Stoplight simulation program (don't ask why :P) over the last few days, and during debugging I had some STRANGE things happen due to so many things to consider and variables to take into account and whatnot - this is one of the images I got...

"STOPLIGHTS DO NOT WORK THAT WAY"
STOPLIGHTS DO NOT WORK THAT WAY.png

So, just curious what other things have happened to people while debugging? What happens when you have a "little" too much liquor and you try making that database application? ;D <-- Not that I have done this... not saying I haven't :o ;D ;D ;D

EDIT: Just for reference, this is a standard USA 4 way stoplight (taking into account timing only for 2 of the 4 ways... it's not a perfect science)
« Last Edit: January 06, 2009, 02:11 AM by wreckedcarzz »

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Funny things that happen during debugging
« Reply #1 on: January 06, 2009, 03:13 AM »
4-way light?

Anyway, lot's of funny things can happen while debugging. Like, when team-mate haven't indented their code properly, and you spend 30 minutes debugging GUI element creation code, until you realize that a whole bunch of elements are being created repeatedly because they're part of a while loop (and you missed this because of lack of sleep and indentation). Lots of horrible stuff can happen :)
- carpe noctem

wreckedcarzz

  • Still lurking. Still an anthro.
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,629
    • Participated in NANY Challenge Twice
    • Coding Snacks
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Re: Funny things that happen during debugging
« Reply #2 on: January 06, 2009, 03:52 AM »
Yea, like a 4-way stop. 4 different roads converging in a perpendicular manner to make one single intersection. (I took Geometry last semester, might as well sound smart :P)

I ended up making an infinite loop on a friend's final project while trying to help him - this If statement wouldn't trigger, and the Do...Loop kept going until the If was completed, and it never was... that was embarrassing explaining once I figured out what I did. ;D

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Funny things that happen during debugging
« Reply #3 on: January 06, 2009, 03:59 AM »
Ah duh, so basically 2 roads intersecting in a cross, with two (opposite-facing) directions being green and the two other sides being red? I thought the 4-way part had to do with the states the lights could be in (on one side), which kinda baffled me. Guess it would be best heading off to bed :P
- carpe noctem

wreckedcarzz

  • Still lurking. Still an anthro.
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,629
    • Participated in NANY Challenge Twice
    • Coding Snacks
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Re: Funny things that happen during debugging
« Reply #4 on: January 06, 2009, 04:23 AM »
Ah duh, so basically 2 roads intersecting in a cross, with two (opposite-facing) directions being green and the two other sides being red? I thought the 4-way part had to do with the states the lights could be in (on one side), which kinda baffled me. Guess it would be best heading off to bed :P

Correct. Two roads intersecting. How would you manage to get 4 different light "modes"?

Green on road 1
Red on road 2
Yellow on road 3
Wtf goes on road 4? Flashing red lights? No lights? One lane for each color?

But then... THIS HAPPENS (FWIW, I *love* that series, even though I can't speak/understand a bit of German).

It boggles the mind! ;D

EDIT: For the Stoplight, that video would make the BEST error message ever. >:D
« Last Edit: January 06, 2009, 04:27 AM by wreckedcarzz »

Original address: https://www.donationcoder.com/forum/index.php?topic=16448.0