Can't figure out how to use key Java IDE features [message #744233] |
Sat, 22 October 2011 01:42 |
risto1 Messages: 1 Registered: October 2011 |
Junior Member |
|
|
Hi everyone,
I'm new to programming, and I have to use Eclipse for class. The professor doesn't want to explain how to use it (wants us to figure out how), but I find it completely pointless so far because I don't know how to use some key features, and I've spent way too many hours trying to find it out.
What I basically need to know:
How do I make Eclipse go step-by-step through the program, showing me how the variables and the expressions(like: if(hello = bye) would show the values of both variables, ex. if(4 = 3)) change?
It seems like that's the sole reason why you would use a program like this (considering that apps like Notepad++ are already color coded, and the java compiler finds errors anyway).
Every tutorial I've looked at doesn't explain how to do this. All I know is how to go step-by-step through the different errors in the code, which to me is pretty useless right now, since the programs I make run fine but when I'm working on them they never give me the right results...
So far I just figure things out by inserting print statements at every single event in the program. It's time consuming and stupid. I'm so fed up to the point where I'm considering making my own java program that does this anyway, and evaluates the expressions. But I feel like Eclipse should do this, and it should be pretty straightforward in explaining this (but it isn't right now for me...)
|
|
|
Re: Can't figure out how to use key Java IDE features [message #745132 is a reply to message #744233] |
Sat, 22 October 2011 16:04 |
David Wegener Messages: 1445 Registered: July 2009 |
Senior Member |
|
|
On 10/21/2011 08:42 PM, risto1 wrote:
> Hi everyone,
>
> I'm new to programming, and I have to use Eclipse for class. The
> professor doesn't want to explain how to use it (wants us to figure out
> how), but I find it completely pointless so far because I don't know how
> to use some key features, and I've spent way too many hours trying to
> find it out.
>
> What I basically need to know:
> How do I make Eclipse go step-by-step through the program, showing me
> how the variables and the expressions(like: if(hello = bye) would show
> the values of both variables, ex. if(4 = 3)) change?
>
> It seems like that's the sole reason why you would use a program like
> this (considering that apps like Notepad++ are already color coded, and
> the java compiler finds errors anyway).
> Every tutorial I've looked at doesn't explain how to do this. All I know
> is how to go step-by-step through the different errors in the code,
> which to me is pretty useless right now, since the programs I make run
> fine but when I'm working on them they never give me the right results...
>
> So far I just figure things out by inserting print statements at every
> single event in the program. It's time consuming and stupid. I'm so fed
> up to the point where I'm considering making my own java program that
> does this anyway, and evaluates the expressions. But I feel like Eclipse
> should do this, and it should be pretty straightforward in explaining
> this (but it isn't right now for me...)
Help->Help Contents->Java development user guide->Tasks->Running and
Debugging
|
|
|
|
Powered by
FUDForum. Page generated in 0.02940 seconds