File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse debugging issue. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse debugging issue." Watch "Eclipse debugging issue." New topic

Eclipse debugging issue.

Ben Jass
Ranch Hand

Joined: Sep 25, 2010
Posts: 76
Hey guys, I have this huge program that I'm working on, but I haven't built it. So I figured the best way to understand how it works is by running the debugger and stepping into everything as it happens. Wouldn't that be a good idea?

The program itself works fine. When I run the debugger (and set a random breakpoint), it will bring up a ton of issues before it even starts running it seems like. It won't even get anywhere.

I understand without providing much source code, you can't identify the problem. Can you tell me this much though:

1) Would debugging be a good way of delving into a program to understand how it works step-by-step?
2) Why is it receiving this issue now, but when I run the program normally, no issues come up?
3) Is there a way to ignore this issue?
4) Does it have to deal with the actual program itself?

That's the best I can give you.
Greg Brannon

Joined: Oct 24, 2010
Posts: 563
Parts of your post are confusing:

"I haven't built it," "The program itself runs fine," and "A ton of issues . . . it won't even get anywhere," just don't go together.

Writing a huge program and then trying to figure out how it works is not a good approach, no matter how good the tools are. Writing a little, testing each component as you go, is a better approach. Now that you have this huge mass of code and aren't sure how it works, I suggest breaking it into smaller parts, restricting what is allowed to run, and test it a "chunk" at a time.

Good luck.

Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
I agree. Here's the link:
subject: Eclipse debugging issue.
It's not a secret anymore!