Results 1 to 2 of 2
  1. #1
    dina013 is offline Member
    Join Date
    Feb 2011
    Posts
    1
    Rep Power
    0

    Default some sort of "watch"?

    Hi,

    I'm very new to Java, although I have been using C/C++ for programming for a couple of years now.
    I have a perhaps pretty idiotic question regarding a "watch" option for C/C++. I used that a lot for tracking my variables when programs just didn't work and I was wondering if Java has anything similar. I searched online, but found nothing.

    Thank you

  2. #2
    NRitH is offline Senior Member
    Join Date
    Feb 2011
    Posts
    118
    Rep Power
    0

    Default

    Quote Originally Posted by dina013 View Post
    Hi,

    I'm very new to Java, although I have been using C/C++ for programming for a couple of years now.
    I have a perhaps pretty idiotic question regarding a "watch" option for C/C++. I used that a lot for tracking my variables when programs just didn't work and I was wondering if Java has anything similar. I searched online, but found nothing.

    Thank you
    Watching variables is a debugger feature, not a language feature. The big Java IDEs (Eclipse, NetBeans, etc.) have debuggers, and if you're a real developer, you can use Java's jdb command-line debugger. It's very similar to gdb.

Similar Threads

  1. Replies: 3
    Last Post: 10-12-2010, 04:21 PM
  2. Replies: 1
    Last Post: 01-21-2010, 09:20 AM
  3. Replies: 2
    Last Post: 02-02-2009, 11:29 AM
  4. Replies: 2
    Last Post: 01-24-2009, 06:56 PM
  5. Replies: 1
    Last Post: 10-20-2008, 07:35 AM

Tags for this Thread

Posting Permissions

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