PDA

Click to See Complete Forum and Search --> : Debugging


VBnewbie2002
Apr 15th, 2004, 04:49 PM
Don't let the name fool you, I've moved from VB to Java.

Althought Java is great, it pisses me off to often. I'm using JCreator LE as my IDE.

In VB there was a debug window, and variable "watches" or something of that name, where you could execute small amounts of code, or single executions of a loop and watch the values of a variable change.

is there anything similiar in Java? My program won't work, and I've narrowed it down to my for loop. It might be infinite, or maybe something else.

BUT I CAN'T CHECK MY VARIABLE VALUES AS THE LOOP EXECUTES!

anyone know how I can debug something like this?

NoteMe
Apr 16th, 2004, 04:57 AM
Never used JCreator, but I have used NetBeans and you could stops or what it was called, so the code stoped exectuting when you came to the part where you wanted to watch the variables. Then you could hold the cursour over that variable, and see what it contained.

Are you sure it's nothing like that in JCreator?