Debugger in Eclipse

Discussion in 'OT Technology' started by SPACECATAZ, Nov 19, 2009.

  1. SPACECATAZ

    SPACECATAZ New Member

    Joined:
    Dec 22, 2006
    Messages:
    2,502
    Likes Received:
    0
    Just made my life a whole lot easier. I would always use main, to test the variables to see their contents. Who knew you could actually use something else to get results without having to type 10 System.out.println("Contents of object:" + object);?

    I wish I knew how to use this earlier, my life would've been a lot easier. :squint::wtc:
     
  2. StevesVR4

    StevesVR4 Get Arrested

    Joined:
    Jul 1, 2003
    Messages:
    7,328
    Likes Received:
    0
    With the debugger in Eclipse, you can even modify the values of variables when you are stopped at a breakpoint. You can also set conditional breakpoints so if you hit a section of code many times, you can set a condition to only break in certain circumstances.
     
  3. Swerve

    Swerve OT Supporter

    Joined:
    Feb 20, 2005
    Messages:
    3,179
    Likes Received:
    3
    If it's anything like Visual studio you be able to lots of things like this, like re-evaluate conditionals, break when the breakpoint has been hit n times.

    It should only take an hour to become familiar with these features, so I'd have a Google for a tutorial on it all.
     

Share This Page