This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Checkpoint and Watches in eclipse? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Checkpoint and Watches in eclipse?" Watch "Checkpoint and Watches in eclipse?" New topic
Author

Checkpoint and Watches in eclipse?

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1270

Hi I work with NetBeans in which I use checkpoint and watch option which make my programming easy. But got problem when I use Eclipse. Is there any option where I can stop the flow as i did in netbeans using checkpoint and check varible values via watch option?


Kaustubh


No Kaustubh No Fun, Know Kaustubh Know Fun..
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

In the source view, double-click on the vertical bar on the left side of the view. This will set a breakpoint. You can also do it by right-clicking on the line you want to stop, and hit CTRL+Shift+B.

Run the program in Debug mode. When the line with the breakpoint is reached, you'll be asked if you want to switch to the Debug Perspective. Use it. You'll see several useful debugging view, like Variables, Breakpoints...


[My Blog]
All roads lead to JavaRanch
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1270

Thanks Christophe
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Checkpoint and Watches in eclipse?
 
Similar Threads
BlueJ import ?
Which tool is advisable to develop java applications..
Increasing a number by 1. CodeRally!!
jdk and/or IDE
Eclipse Vs Netbeans