Please explain debugging

Reply

Join Date: Oct 2004
Posts: 12
Reputation: ALT-F4 is an unknown quantity at this point 
Solved Threads: 0
ALT-F4's Avatar
ALT-F4 ALT-F4 is offline Offline
Newbie Poster

Please explain debugging

 
0
  #1
Nov 2nd, 2004
Hey, I've been programming for sometime now and one thing I've never had to do is any sort of "debugging". I was just wondering if someone could help explain to me the process and the purpose of it. Thanks! :lol:
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 7
Reputation: ra2833 is an unknown quantity at this point 
Solved Threads: 0
ra2833 ra2833 is offline Offline
Newbie Poster

Re: Please explain debugging

 
0
  #2
Nov 2nd, 2004
Originally Posted by ALT-F4
Hey, I've been programming for sometime now and one thing I've never had to do is any sort of "debugging". I was just wondering if someone could help explain to me the process and the purpose of it. Thanks! :lol:

i use eclipse to work with java code.... it has a debugging feature that allows me to click on an icon that tells the compiler to read a line of code and it shows me the result on a seperate window. example: if i have a stack, and i want to populate the stack, then when i launch the debugger, it reads the code line by line, sooooo it creates my stack, and it shows it to me, then when i put something on the stack it shows me that too, so it will keep showing me things it does, when it reads a line of code.... and if the result on the other winows is not what should happen, then i know what line made it do that (the thing it was not suppose to do)..

hope this helps.....
ra2833
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 12
Reputation: ALT-F4 is an unknown quantity at this point 
Solved Threads: 0
ALT-F4's Avatar
ALT-F4 ALT-F4 is offline Offline
Newbie Poster

Re: Please explain debugging

 
0
  #3
Nov 2nd, 2004
Debugging sounds like a valuable tool that I've been missing out on. Thanks much for the info, it was quite helpful. I'll make sure to give that a shot on my next lab.
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,602
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 713
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: Please explain debugging

 
0
  #4
Nov 2nd, 2004
>I've been programming for sometime now and one thing I've never had to do is any sort of "debugging".
You're incredibly lucky then to have never made any kind of mistake in your programs. Debugging is the process of removing an error whether it be compile-time, run-time, link-time, or a problem with the program's logic.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 12
Reputation: ALT-F4 is an unknown quantity at this point 
Solved Threads: 0
ALT-F4's Avatar
ALT-F4 ALT-F4 is offline Offline
Newbie Poster

Re: Please explain debugging

 
0
  #5
Nov 2nd, 2004
Well, after writing a program I've always had some options: compile, run, debug, etc. Now granted, if syntax is off or something of that sort, then my programming environment pops up errors stating that it's "expecting a ; on line 17" or something to that effect. But I have never understood what the "debug button" did (for lack of a better term).
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC