File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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: 1277

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: 14688
    
  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: 1277

Thanks Christophe
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Checkpoint and Watches in eclipse?