Results 1 to 2 of 2

Thread: Debugging

  1. #1

    Thread Starter
    Junior Member VBnewbie2002's Avatar
    Join Date
    Sep 2002
    Posts
    29

    Debugging

    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?

  2. #2
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width