aspose file tools*
The moose likes Beginning Java and the fly likes What does it mean ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What does it mean ..." Watch "What does it mean ..." New topic
Author

What does it mean ...

nehal trivedi
Greenhorn

Joined: Dec 05, 2002
Posts: 5
HI ALL !
What does it mean actually when you Debug the java code. in what ways it can help ?
I am working on a project in which I am mostly modifying the code from a previous student at the school.
I am using (trying to use) SunOne Studio as a learning experience towards really BIG projects. I want to learn the technology but am clueless about what to expect from the IDE .
Please give me some hints about things ... I understand the theoritical aspect, but not the practice ..How do I USE the IDE at its potential ?
Thank You,
Neh
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi nehal,
Most of old farts here would probably advise you to toss the IDE in the recycle bin and start coding with a text editor. As long as there have been bit flippers there has been a debate as to whether debugging was an art or a science. I feel it's a mixture of the two with a little more art or better experience. The first round of debugging generally is initiated by the compiler itself, which gladfully nitpicks all of your out of place parenthesis, undefined variables, etc. The more difficult phase occurs when the damn program doesn't do what you want it to. You can generally find most logic errors like that with stratgically placed System.out.prinln()s. Where IDEs do come in handy is with their built in symbolic debuggers, where you can set breakpoints, inspect varialble variables, etc. There is a lot to debugging, be it science or art, and more than anything it takes a lot of experience to become proficient at it.
Michael Morris


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Wassisname said:
Most of old farts here would probably advise you to toss the IDE in the recycle bin and start coding with a text editor

I advise you to toss that particular IDE in the recycle bin for now and start coding with a IDE such as Eclipse or, for learning purposes, BlueJ.
When you are trying to make sense of someone else's code an IDE with its code browser and debugger can be very useful. Just the other day I was browsing sample code from a SCJD book and the IDE (Eclipse) pointed out several dubious coding glitches. For example, the code was accessing a static variable through the this reference.
[ March 27, 2003: Message edited by: Barry Gaunt ]

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What does it mean ...
 
Similar Threads
Developing editor
How to use maven for the existed project
This weeks Giveaway
NX: Java in Linux
How to execute a function from servlet on JSP start up