944,050 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 3618
  • Java RSS
Nov 2nd, 2004
0

Please explain debugging

Expand Post »
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:
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ALT-F4 is offline Offline
12 posts
since Oct 2004
Nov 2nd, 2004
0

Re: Please explain debugging

Quote 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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ra2833 is offline Offline
7 posts
since Nov 2004
Nov 2nd, 2004
0

Re: Please explain debugging

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ALT-F4 is offline Offline
12 posts
since Oct 2004
Nov 2nd, 2004
0

Re: Please explain debugging

>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.
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004
Nov 2nd, 2004
0

Re: Please explain debugging

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).
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ALT-F4 is offline Offline
12 posts
since Oct 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Changing uppercase letter to lower case
Next Thread in Java Forum Timeline: help? trying to compare input with symbol.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC