View RSS Feed

My Java Tips

Setting watches in Eclipse

Rate this Entry
by , 05-21-2011 at 10:55 PM (3333 Views)
Watch point is a special type of break point that suspends execution when specified filed is accessed or modified.

Setting a watchpoint is simple. First select a field in the Outline view and choose Toggle Watchpoint from its context menu.

Name:  watches.jpg
Views: 569
Size:  22.9 KB

Now you have to configure this watchpoint. This is done by selecting the watchpoint in the view and choose Properties from its context menu. Donít forget to configure the important properties which are: Access and Modification checkboxes. These determine which when the breakpoint can suspend execution.

Submit "Setting watches in Eclipse" to Facebook Submit "Setting watches in Eclipse" to Digg Submit "Setting watches in Eclipse" to del.icio.us Submit "Setting watches in Eclipse" to StumbleUpon Submit "Setting watches in Eclipse" to Google

Categories
Eclipse

Comments